List.Contains

About

Returns true if a value is found in a list.

Syntax

List.Contains(list as list, value as any, optional equationCriteria as any) as logical  

Arguments

Argument Description
list The List to check.
value The value to check for.
optional equationCriteria An optional equation criteria value to control equality testing.

Examples

List.Contains({1, 2, 3}, 2) equals true  
List.Contains({1, 2, 3}, 4) equals false