maximum index(items)index of highest Type: For any types t where Comparable t([t]) -> Number

Gets the index of the highest item in the list (where the first item is index 1, the second is index 2 and so on).

Highest is determined in the same way as operator < -- see the documentation for more details.

ExamplesClick an example to insert it
maximum index([54, 82, -7])2
maximum index(["cat", "aardvark", "bear"])1
maximum index([])error
See Alsomaximum(..)minimum index(..)