Methods
unshift
ΒΆ
unshift(arr:
Arr
, elt:
Any
)
Prepend one element to the given array
Source:
stdlib.ngs:1250
Returns
Modified arr
Example
x=[1,2] x.unshift(3) echo(x) # Outputs: [3,1,2]