minMaxBy()
Get the (first) maximum value in an array determined by valuer
.
array
and the corresponding values will be used to rank the items. In all other cases this will be used as a path within each item in array
whose property at that path will be used to rank the item.min
property which will be the (first) minimum value in array
. The object will also contain a max
property which will be the (first) maximum value in array
. If array
is empty undefined
will be the value of the min
and max
properties.This function directly requires the following function which is included automatically:
minIndex()
This function is directly required by the following function:
minIndex()