Tile - Array - Shift – Ylands

From Bohemia Interactive Community
(Redirected from Ylands Tile - Array shift)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Shift(Array)

YlandsTile-195.png

YlandsTile-195-rv.png

shift(): T;

Returns

any

Description

The shift instruction removes the first object of an array. This instruction changes the length of original array.

Shift(Array)

YlandsTile-901.png

shift(): T[];

Returns

any[]

Description

The shift instruction removes the first object of an array.

Notes

  • This instruction changes the length of original array.