UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

12 lines (11 loc) 420 B
export default baseUniq; /** * The base implementation of `uniqBy`. * * @private * @param {Array} array The array to inspect. * @param {Function} [iteratee] The iteratee invoked per element. * @param {Function} [comparator] The comparator invoked per element. * @returns {Array} Returns the new duplicate free array. */ declare function baseUniq(array: any[], iteratee?: Function, comparator?: Function): any[];