Tile - YArray - Remove – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

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.