Returns the distinct values of the list without null values.
List
distinct(<parameter>)
Parameter | Type |
---|---|
List | listString |
List | listBoolean |
List | listInteger |
List | listDecimal |
List | listDuration |
List | listDateTime |
List | listDateTimeOnly |
distinct(<listInteger>)
Returns a list of integers.
distinct(<listDecimal>)
Returns a list of decimals.
distinct(<listString>)
Returns a list of strings.
distinct(<listDateTimeOnly>)
Returns a list of datetimes without considering time zone.
distinct(<listDateTime>)
Returns a list of datetimes.
distinct(<listBoolean>)
Returns a list of booleans.
distinct(<listDuration>)
Returns a list of durations.
distinct([10,2,10,null])
Returns [10, 2]
.