std.collections.Stack.FindLastIndex - nitrologic/monkey2 GitHub Wiki
std::std.collections.std.collections.Stack.FindLastIndex
monkey:monkey.types.Int( value:T,start:monkey:monkey.types.Int=0 )
Method FindLastIndex:Finds the index of the last matching value in the stack.
In debug builds, a runtime error will occur if start
is less than 0 or greater than the length of the stack.
Parameters | |
---|---|
value |
value The value to find. |
start |
start The starting index for the search. |