Find first index of maximum value.
an array
compare function (a, b)
map function (v, i, x)
first index of maximum value, -1 if empty
Generated using TypeDoc
Find first index of maximum value.