Tile - Array - Remove First – Ylands
Jump to navigation
Jump to search
Remove First(Array)
shift(): T;
Returns
any
Availability
Client, Server, Custom Controller
Description
Removes the first object of an array.
Notes
- This instruction changes the length of original array.
- Expression variant returns new length.
Remove First(Array)
shift(): T[];
Returns
any[]
Availability
Client, Server, Custom Controller
Description
The shift instruction removes the first object of an array.
Notes
- This instruction changes the length of original array.
- Expression variant returns new length.