@newdash/newdash
Version:
javascript/typescript utility library
14 lines (13 loc) • 464 B
TypeScript
/**
* The base implementation of methods like `max` and `min` which accepts a
* `comparator` to determine the extremum value.
*
* @private
* @ignore
* @param array The array to iterate over.
* @param iteratee The iteratee invoked per iteration.
* @param comparator The comparator used to compare values.
* @returns Returns the extremum value.
*/
export function baseExtremum(array: any, iteratee: any, comparator: any): any;
export default baseExtremum;