array.lastindexof

Index of the last element equal to the value, or -1.

array.lastindexof(id: array<any>, value: element type) -> int

Parameters

Example

i = a.lastindexof(close)