List.AnyTrue
Returns true if any expression is true.
Syntax
List.AnyTrue(
list as list
) as logical
Remarks
Returns true if any expression in the list list
is true.
Examples
Example #1
Determine if any of the expressions in the list {true, false, 2 > 0} are true.
List.AnyTrue({true, false, 2>0})
Result:
true
Example #2
Determine if any of the expressions in the list {2 = 0, false, 2 < 0} are true.
List.AnyTrue({2 = 0, false, 2 < 0})
Result:
false
Category
List.Membership functions