FEEL

all

FEEL built-in function · FEEL list functions

all(list) or all(b1, …, bN)

Returns true if every element is true, false if any element is false, and null otherwise. all([]) is true.

all uses three-valued logic. A single false makes the result false, even if there are nulls. Otherwise any null makes it null. Elements that are not booleans also give null.

Parameters

ParameterTypeDescription
listlist of booleansbooleans, as one list or as separate arguments

Examples

all([true, true])
all([true, false])
all([])

Edge cases and null handling

all([true, null])
all([false, null])

False wins over null.

all([1])

Non-boolean elements give null.

Related functions

any

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