Tile - Array - Last Index Of – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
==== object ==== | ==== object ==== | ||
Object to test | |||
=== Returns === | === Returns === | ||
'''number''' | '''number''' | ||
=== Availability === | |||
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Custom Controller|Custom Controller]] | |||
=== Description === | === Description === | ||
This instruction will return the position of the last occurrence of | This instruction will return the position of the last occurrence of selected '''object''' in the '''array'''. | ||
Revision as of 12:17, 12 November 2021
Last Index Of(Array, Object)
lastIndexOf(object: T): number;
Parameters
object
Object to test
Returns
number
Availability
Client, Server, Custom Controller
Description
This instruction will return the position of the last occurrence of selected object in the array.