import arrayEach from "./_arrayEach.js";
import baseEach from "./_baseEach.js";
import castFunction from "./_castFunction.js";
import isArray from "./isArray.js";
function forEach(collection, iteratee) {
  var func = isArray(collection) ? arrayEach : baseEach;
  return func(collection, castFunction(iteratee));
}
export {
  forEach as default
};
//# sourceMappingURL=forEach.js.map
