Lucee Function Reference

arraypush()

Inserts an array element at the end of an array and return the new size of the array.

Introduced: 5.3.8.104

Example

arraypush(array array,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
array array  Yes Name of an array  
value any  Yes value to prepend