Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function ARRAYPREPEND

Inserts an array element at the beginning of an array
and shifts the positions of the existing elements to
make room.

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