Lucee object methods reference
Object Method Array.unshift
Adds an element at the beginning of the array and shifts the rest of the elements to the right.
Array.unshift(any value):numeric
Category
array
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
value | any | Yes | element to add. |