Tile - Array - Remove First – Ylands

From Bohemia Interactive Community
Revision as of 12:17, 12 November 2021 by YlandsClassyBot (talk | contribs) (Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Remove First(Array) == File:YlandsTile-195.p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Remove First(Array)

YlandsTile-195.png

YlandsTile-195-rv.png

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)

YlandsTile-901.png

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.