Tile - Array - Remove First – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(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...")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
Line 51: Line 51:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:23, 24 November 2023

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.