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