Loading

UNIQUE


lists
Since v1.0.0
Available on all platforms
See also

The UNIQUE function eliminates duplicate elements on the LIST on the top of the stack. The order of the resulting LIST is not the same than the original one.

It makes elements of a list unique by converting it to a set temporarily. See () for more informations.

Signature

Examples

[ 'audi' 'dacia' 'dacia' 'nissan' 'mercedes' 'volvo' ] 'inputlist' STORE $inputlist UNIQUE // Returns the new list, without duplicates. Order is different. $inputlist // Original list is not modified