array →
distinct() → array

Returns the unique values from the input array in the order of their first occurrence. Returns null when the input cannot be evaluated.

Parameters

This function has no parameters.

Examples

{1, 2, 3} | distinct  {1, 2, 3}

Kind: Function
Scope: array/set
Aliases: distinct


This site uses Just the Docs, a documentation theme for Jekyll.