List.AnyTrue

List.AnyTrue

Returns true if any expression is true.

function (list as list) as logical

Description

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

Category

List.Membership functions

Examples

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

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

true

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

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

false