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