array.lastindexof
Index of the last element equal to the value, or -1.
array.lastindexof(id: array<any>, value: element type) -> int
Parameters
idarray<any>: The array; na stops the script with a runtime error.valueelement type: a value of the array element type
Example
i = a.lastindexof(close)