setDistinct

setDistinct(set)

Collect the distinct elements of a multiset. A multi-dimension array will be converted to a single-dimension array before the operation.

Try it yourself:

All functions