It will iterate through each of the provided values array, by the provided iteratee function and add the resulting numbers returned by the said iteratee function to produce the minimum,
values
iteratee
minimum
The array to iterate over.
The iteratee invoked per element.
The minimum value.
1.0.0
minByFn([1, 2, 3], number => number); // => 1 Copy
minByFn([1, 2, 3], number => number); // => 1
minByFn([{ a: 1 }, { a: 2 }, { a: 3 }], ({ a }) => a); // => 1 Copy
minByFn([{ a: 1 }, { a: 2 }, { a: 3 }], ({ a }) => a); // => 1
It will iterate through each of the provided
valuesarray, by the providediterateefunction and add the resulting numbers returned by the saiditerateefunction to produce theminimum,