Distinct

Deletes duplicate tuples from a set.

Syntax

Distinct ( set )
ParameterDescription

set

The set from which to remove duplicates.

Notes

Example

The expression

Distinct({[Colas], [Root Beer], [Cream Soda], [Colas]})

returns the set

{[Colas], [Root Beer], [Cream Soda]}

Note that the duplicate [Colas] is removed from the end of the set.