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