Tile - Array - Pop – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
Line 37: Line 37:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


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

Latest revision as of 14:24, 24 November 2023

Pop(Array)

YlandsTile-193.png

YlandsTile-193-rv.png

pop(): T;

Returns

any

Description

This instruction removes the last element of an array. This instruction changes the length of the original array.

Pop(Array)

YlandsTile-900.png

pop(): T[];

Returns

any[]

Description

This instruction removes the last element of an array.

Notes

  • This instruction changes the length of the original array.