The Distinct() function filters a list on unique values.

Syntax

Distinct(values)

Returns

A copy of values where duplicates are filtered out.

Parameters

  • values – a list of values

Examples

Distinct(List("Red", "Yellow", "red", "Blue"))
/* Returns "Red", "Yellow", "Blue" */

Distinct(List("red", "Yellow", "Red", "Blue"))
/* Returns "red", "Yellow", "Blue" */

Distinct(List(1, 5, 6, 3, 2, 1, 5, 4, 2))
/* Returns 1, 5, 6, 3, 2, 4 */

 +31 (0)20 240 21 20       

Videos and images courtesy of WEM Modeler. © 2019. WEM Modeler.
SitemapPrivacy - Terms - Company

 +31 (0)20 240 21 20       


Videos and images courtesy of WEM Modeler.
© 2019 WEM Modeler.
SitemapPrivacy - Terms - Company