Get the (first) minimum value in an array determined by valuer.

This function is valid in v2.12.0 to v2.20.0. This function has been downloaded 22 times.


{Array} array
Array which contains the minimum value that should be found.
{Function|Array|number|string} valuer
If this is a function it will be passed each item in 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.


The (first) minimum value within array.

Required Function

This function requires the following function which is included automatically:

  • minIndex()
    Get the index of the (first) minimum value in an array.