source: node_modules/es-toolkit/dist/compat/math/minBy.mjs@ a762898

Last change on this file since a762898 was a762898, checked in by istevanoska <ilinastevanoska@…>, 6 months ago

Added visualizations

  • Property mode set to 100644
File size: 351 bytes
Line 
1import { minBy as minBy$1 } from '../../array/minBy.mjs';
2import { identity } from '../../function/identity.mjs';
3import { iteratee } from '../util/iteratee.mjs';
4
5function minBy(items, iteratee$1) {
6 if (items == null) {
7 return undefined;
8 }
9 return minBy$1(Array.from(items), iteratee(iteratee$1 ?? identity));
10}
11
12export { minBy };
Note: See TracBrowser for help on using the repository browser.