import arrayFilter from "./_arrayFilter2.js";
import baseFilter from "./_baseFilter2.js";
import baseIteratee from "./_baseIteratee2.js";
import isArray from "./isArray2.js";
function filter(collection, predicate) {
  var func = isArray(collection) ? arrayFilter : baseFilter;
  return func(collection, baseIteratee(predicate));
}
export {
  filter as default
};
//# sourceMappingURL=filter2.js.map
