ListUnique

Qubes 5.3 Combines a set of values into a single list value with no duplicates.

Syntax

ListUnique(param1, param2, ...)
param1 = first parameter in the set (value, range, or list)
param2 = second parameter in the set (value, range, or list)
... = nth parameter in the set (value, range, or list)

Remarks

Ranges are always "flattened" using the List function. In other words, it does not returns lists of lists, only a list of values. Duplicates are eliminated, so that there are none in the final list (the order of the deduplicated values will be that of their last occurrences).

This function accepts an unlimited number of parameters. The length of the resulting list can be calculated using the Length function.
To retrieve a list that includes any duplicates, see List. To only eliminate empty values, see ListPack.

Examples

ListUnique(1, 2, 2) = { 1, 2 }
ListUnique(1, ListUnique(1, 3)) = { 1, 3 }

Classification

Ranges