append
FEEL built-in function · FEEL list functions
append(list, item…)
Returns a new list with the items added to the end.
Parameters
| Parameter | Type | Description |
|---|---|---|
| list | list | the source list |
| item | any | one or more values to add at the end |
Examples
append([1], 2, 3)
[1, 2, 3]
Try it ↑
Edge cases and null handling
append([1], [2])
[1, [2]]
Try it ↑
A list argument is added as one nested element. Use concatenate to join lists.
Part of FEEL list functions: how positions, nulls and single values behave across all of them, aggregating over lists of contexts, and every function side by side.
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).