Tile - YArray - Remove – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with " ---- {{Ylands scripting navbox}} {{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} Category: Instructions Category: Ylands 1.1")
 
No edit summary
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!---
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Remove(Array, Object) ==
[[File:YlandsTile-788.png]]
<pre>static remove(array: any[], object: any): void;</pre>
=== Parameters ===
==== array ====
Target array
==== 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 ===
Allows to '''remove''' selected '''object''' from '''array'''.
== Remove(Array, Object) ==
[[File:YlandsTile-1149.png]]
<pre>static remove(array: any[], object: any[]): void;</pre>
=== Parameters ===
==== array ====
Target array
==== 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 ===
Allows to '''remove''' array of '''objects''' from '''array'''.




----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 1.1]]

Revision as of 12:17, 12 November 2021

Remove(Array, Object)

YlandsTile-788.png

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)

YlandsTile-1149.png

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.