flatten
FEEL built-in function · List functions
flatten(list)
Returns a flat list with all nested lists recursively expanded in place.
Parameters
| Parameter | Type | Description |
|---|---|---|
| list | list | a possibly nested list |
Examples
flatten([[1, 2], [[3]], 4])
[1, 2, 3, 4]
Try it →
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).