Inserts an array element at the beginning of an array
and shifts the positions of the existing elements to
make room.
Lucee Object Methods Reference
Object Method Array.prepend
Array.prepend(any value):boolean
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 | value to prepend |