concat($s1, $s2, ..., $sN)
Merge the given sets or single values into a set. This can be used to add new elements to a set, since sets are otherwise not editable.
If all parts are scalar values, the expression is equivalent to list($s1, $s2, ..., $sN) (see List from single values).
Otherwise the expression is also equivalent to list($s1, $s2, ..., $sN).flatten() (see Flatten).
| Name | Type | Description | Mandatory | Default |
|---|---|---|---|---|
| s | Number/string/boolean/business object/set | Sets or single values that are to be combined to a set. | yes |
Type: Set
A set containing all specified parameters.
concat(list(1, 2, 3), list(4, 5, 6))
Output: A set with the elements [1, 2, 3, 4, 5, 6].
concat(list(1, 2, 3), 4, 5, "and so on")
Output: A set with the elements [1, 2, 3, 4, 5, "and so on"].