Table of contents
TOC
Collapse the table of content
Expand the table of content

List.Contains

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

Returns true if a value is found in a list.

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

Arguments

ArgumentDescription
listThe List to check.
valueThe value to check for.
optional equationCriteriaAn 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  
© 2018 Microsoft