List.AnyTrue

Syntax

List.AnyTrue(list as list) as logical

About

Returns true if any expression in the list list is true.

Example 1

Determine if any of the expressions in the list {true, false, 2 > 0} are true.

Usage

List.AnyTrue({true, false, 2>0})

Output

true

Example 2

Determine if any of the expressions in the list {2 = 0, false, 2 < 0} are true.

Usage

List.AnyTrue({2 = 0, false, 2 < 0})

Output

false