@newdash/newdash
Version:
javascript/typescript utility library
11 lines (10 loc) • 362 B
TypeScript
export default baseSortedUniq;
/**
* The base implementation of `sortedUniq` and `sortedUniqBy`.
*
* @private
* @param {Array} array The array to inspect.
* @param {Function} [iteratee] The iteratee invoked per element.
* @returns {Array} Returns the new duplicate free array.
*/
declare function baseSortedUniq(array: any[], iteratee?: Function): any[];