Tile - YArray - Remove At – Ylands
Jump to navigation
Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Remove At(Array, Index) == File:YlandsTile-7...") |
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 | |||
==== index ==== | ==== index ==== | ||
Array position to be removed | |||
=== Availability === | |||
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Custom Controller|Custom Controller]] | |||
=== Description === | === Description === | ||
Allows to '''remove''' an '''object''' from '''array''' at given array '''position''' (index). | |||
---- | ---- | ||
{{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 At(Array, Index)
static removeAt(array: any[], index: number): void;
Parameters
array
Target array
index
Array position to be removed
Availability
Client, Server, Custom Controller
Description
Allows to remove an object from array at given array position (index).