List.AllTrue
Vrátí hodnotu True, pokud mají všechny výrazy hodnotu True.
Syntax
List.AllTrue(
list as list
) as logical
Remarks
Vrátí hodnotu True, pokud mají všechny výrazy v seznamu list hodnotu True.
Examples
Example #1
Určí, zda mají všechny výrazy v seznamu {true, true, 2 > 0} hodnotu True.
List.AllTrue({true, true, 2 > 0})
Result:
true
Example #2
Určí, zda mají všechny výrazy v seznamu {true, true, 2 < 0} hodnotu True.
List.AllTrue({true, false, 2 < 0})
Result:
false
Category
List.Membership functions