Get the index of the (first) maximum value in an array determined by
This function is valid in
v2.12.0 to v2.14.2.
This function has been downloaded 2 times.
Array which contains the maximum value that should be found and for which the corresponding index should be returned.
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 index of the (first) maximum value within
array is empty
-1 will be returned.
This function requires the following function which is included automatically:
Get the index of the (first) minimum value in an array.