Tile - YArray - Remove – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(One intermediate revision by one other user not shown) | |||
Line 10: | Line 10: | ||
==== array ==== | ==== array ==== | ||
Target array | |||
==== object ==== | ==== object ==== | ||
Object to be removed from array | |||
=== Availability === | |||
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Custom Controller|Custom Controller]] | |||
=== Description === | === Description === | ||
Allows to '''remove''' selected '''object''' from '''array'''. | |||
== Remove(Array, Object) == | == Remove(Array, Object) == | ||
Line 30: | Line 38: | ||
==== object ==== | ==== object ==== | ||
Object(s) to removed from array | |||
=== Availability === | |||
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Custom Controller|Custom Controller]] | |||
=== Description === | === Description === | ||
Allows to remove | Allows to '''remove''' array of '''objects''' from '''array'''. | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 14:24, 24 November 2023
Remove(Array, Object)
static remove(array: any[], object: any): void;
Parameters
array
Target array
object
Object to be removed from array
Availability
Client, Server, Custom Controller
Description
Allows to remove selected object from array.
Remove(Array, Object)
static remove(array: any[], object: any[]): void;
Parameters
array
Target array
object
Object(s) to removed from array
Availability
Client, Server, Custom Controller
Description
Allows to remove array of objects from array.