Tile - Array - Remove Last – Ylands

From Bohemia Interactive Community
Revision as of 14:24, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Remove Last(Array)

YlandsTile-193.png

YlandsTile-193-rv.png

pop(): T;

Returns

any

Availability

Client, Server, Custom Controller

Description

Removes the last element of an array.

Notes

-This instruction changes the length of the original array.

  • Expression variant returns new length.

Remove Last(Array)

YlandsTile-900.png

pop(): T[];

Returns

any[]

Availability

Client, Server, Custom Controller

Description

This instruction removes the last element of an array.

Notes

  • This instruction changes the length of the original array.
  • Expression variant returns new length.