import arrayMap from "./_arrayMap.js";
import baseIntersection from "./_baseIntersection.js";
import baseRest from "./_baseRest.js";
import castArrayLikeObject from "./_castArrayLikeObject.js";
var intersection = baseRest(function(arrays) {
  var mapped = arrayMap(arrays, castArrayLikeObject);
  return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped) : [];
});
export {
  intersection as default
};
//# sourceMappingURL=intersection.js.map
