flatten

FEEL built-in function · List functions

flatten(list)

Returns a flat list with all nested lists recursively expanded in place.

Parameters

ParameterTypeDescription
listlista possibly nested list

Examples

flatten([[1, 2], [[3]], 4])
[1, 2, 3, 4] Try it →

Related functions

concatenate

Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).