1 | import { extremaBy, defaultCompareAsync } from './_extremaby';
|
2 | export function minBy(source, keySelector, comparer = defaultCompareAsync) {
|
3 | return extremaBy(source, keySelector, async (key, minValue) => -await comparer(key, minValue));
|
4 | }
|
5 |
|
6 | //# sourceMappingURL=minby.mjs.map
|