List.IsDistinct

About

Returns whether a list is distinct.

Syntax

List.IsDistinct(list as list, optional equationCriteria as any) as logical  

Arguments

Argument Description
list The List to check.
optional equationCriteria Equation criteria value used to control equality comparison. For more information about equationCriteria, see Parameter Values.

Examples

List.IsDistinct({1, 2, 3, 2, 3}) equals false  
List.IsDistinct({"a","b","A"}, Comparer.FromCulture("en",false) equals true  
List.IsDistinct({"a","b","A"}, Comparer.FromCulture("en",true) equals false