Tile - Array - Includes – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
==== object ==== | ==== object ==== | ||
Object to test | |||
=== Returns === | === Returns === | ||
'''boolean''' | '''boolean''' | ||
=== Availability === | |||
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Custom Controller|Custom Controller]] | |||
=== Description === | === Description === | ||
Returns '''true''' if the '''object''' is included in the selected '''array'''. | |||
Revision as of 11:17, 12 November 2021
Includes(Array, Object)
includes(object: T): boolean;
Parameters
object
Object to test
Returns
boolean
Availability
Client, Server, Custom Controller
Description
Returns true if the object is included in the selected array.