@newdash/newdash
Version:
javascript/typescript utility library
13 lines (12 loc) • 506 B
TypeScript
export default baseIntersection;
/**
* The base implementation of methods like `intersection` that accepts an
* array of arrays to inspect.
*
* @private
* @param {Array} arrays The arrays to inspect.
* @param {Function} [iteratee] The iteratee invoked per element.
* @param {Function} [comparator] The comparator invoked per element.
* @returns {Array} Returns the new array of shared values.
*/
declare function baseIntersection(arrays: any[], iteratee?: Function, comparator?: Function): any[];