Skip to main content
Version: v4.24

any

Computes the disjunction (OR) of all grouped boolean values.

any(xs:list) -> bool

Description

The any function returns true if any value in xs is true and false otherwise.

xs: list

A list of boolean values.

Examples

Check if any value is true

from [
  {x: false},
  {x: false},
  {x: true},
]
summarize result=any(x)
{result: true}

See Also

all