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

List.ContainsAny

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

About

Returns true if any item in values is found in a list.

List.ContainsAny(list as list, values as list,optional equationCriteria as any) as logical  

Arguments

ArgumentDescription
listThe List to check.
valuesThe list of values to check for.
optional equationCriteriaAn optional equation criteria value to control equality comparisons. For more information about equality comparisons, see Parameter Values.

Examples

List.ContainsAny({1, 2, 3}, {2, 4}) equals true  
List.ContainsAny({1, 2, 3}, {4, 5}) equals false  
© 2018 Microsoft