List.AllTrue

Syntax

List.AllTrue(list as list) as logical

About

Returns true if all expressions in the list list are true.

Example 1

Determine if all the expressions in the list {true, true, 2 > 0} are true.

List.AllTrue({true, true, 2 > 0})

true

Example 2

Determine if all the expressions in the list {true, true, 2 < 0} are true.

List.AllTrue({true, false, 2 < 0})

false