Lucee Function Reference
arrayappend()
Appends an array element to an array.
Beispiel
arrayappend(array array,any value,[boolean merge]):boolean
Kategorie
array
Argumente
Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name | Typ | Required | Beschreibung |
---|---|---|---|
array | array | Yes | The array to which the element should be appended. |
value | any | Yes | The element to append. Can be any type. |
merge | boolean | 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. |