count
FEEL built-in function · FEEL list functions
count(list)
Returns the number of elements in the list.
Parameters
| Parameter | Type | Description |
|---|---|---|
| list | list | the list to count |
Examples
count([1, 2, 3])
3
Try it ↑
count([])
0
Try it ↑
Edge cases and null handling
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).