distinct values
FEEL built-in function · FEEL list functions
distinct values(list)
Returns the list with duplicate elements removed, preserving first-seen order.
Parameters
| Parameter | Type | Description |
|---|---|---|
| list | list | the source list |
Examples
distinct values([1, 2, 3, 2, 1])
[1, 2, 3]
Try it ↑
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).