arrayAppend

Overview ColdFusion Open BlueDragon Lucee

Appends an array element to an array.

Attributes

Name Required Type Default Description
array Yes Array The array to which the element should be appended.
10
arrayconcat No Boolean If true adds array as one element, else adds individual elements. Default is false
4
merge No This argument only applies when the value is an array. If set to true appends array elements individually to the source array. If false (default) the complete array is added as one element at the end, in the source array.
value Yes Any The element to append. Can be any type.