Inserts an array element at the beginning of an array
and shifts the positions of the existing elements to
make room.
Lucee Function Reference
Function ARRAYPREPEND
Example
arrayprepend(array array,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 |
---|---|---|---|
array | array | Yes | Name of an array |
value | any | Yes | value to prepend |