NGS version 0.2.5 auto-generated documentation
Documentation index
The global namespace
pop multimethod
pop multimethod
Methods
pop(
arr:
Arr
)
Pop item from an array. Removes last item in array and returns it. Throws EmptyArrayFail.
Returns
Any
Example
a=[1,2]; a.pop() # 2, a is now [1]