Tile - Array - Pop – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Array pop to Ylands:Tile - Array - Pop: New Structure)
No edit summary
Line 1: Line 1:
[[Image:Editor-VS_tile-array_pop.png]]
<!---
*This instruction '''removes''' the last element of an array.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*This instruction changes the length of original array.
-->
== Pop(Array) ==
 
[[File:YlandsTile-193.png]]
 
[[File:YlandsTile-193-rv.png]]
 
<pre>pop(): T;</pre>
=== Returns ===
 
'''any'''
 
=== Description ===
 
This instruction '''removes''' the last element of an array. This instruction changes the length of the original array.
 
== Pop(Array) ==
 
[[File:YlandsTile-900.png]]
 
<pre>pop(): T[];</pre>
=== Returns ===
 
'''any[]'''
 
=== Description ===
 
This instruction '''removes''' the last element of an array.
 
=== Notes ===
 
* This instruction changes the length of the original array.




Line 9: Line 40:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.10]]

Revision as of 09:53, 8 July 2021

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.