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

object

Description

This instruction will remove the target object/array of objects from the target array.

Remove(Array, Object)

YlandsTile-1149.png

static remove(array: any[], object: any[]): void;

Parameters

array

Target array

object

Selected object(s) to remove

Description

Allows to remove one or more objects from target array.