minMaxIndex()
Get the index of the (first) minimum value and the index of the (first) maximum value in an array.
This function is valid in v2.12.0. This function has been downloaded 2 times.min
property which will be the index of the (first) minimum value in array
. The object will also contain a max
property which will be the index of the (first) maximum value in array
. If array
is empty -1
will be the value of the indices.This function requires the following function which is included automatically:
minIndex()