//#region src/math/minBy.d.ts /** * This method is like min except that it accepts iteratee which is invoked for each element * in array to generate the criterion by which the value is ranked. * The iteratee is invoked with one argument: (value). * * @param array - The array to iterate over * @param iteratee - The iteratee invoked per element * @returns Returns the minimum value * * @example * minBy([{ n: 1 }, { n: 2 }, { n: 3 }], (o) => o.n) // => { n: 1 } * minBy([], (o) => o.n) // => undefined */ declare function minBy(array: T[], iteratee: (item: T) => number): T | undefined; //#endregion export { minBy }; //# sourceMappingURL=minBy.d.mts.map