Computes the minimum of the values of the property for each element in the array.
minimum
property
The array to iterate over.
The property to get the value per element.
The minimum value.
1.0.0
minByProperty([{ a: 1 }, { a: 2 }, { a: 3 }], "a"); // => 1 Copy
minByProperty([{ a: 1 }, { a: 2 }, { a: 3 }], "a"); // => 1
Computes the
minimum
of the values of theproperty
for each element in the array.