or
Table of Contents
Aggregate Function
or — logical OR of input values
Synopsis
or(bool) -> bool
Description
The or aggregate function computes the logical OR over all of its input.
Examples
Ored value of simple sequence:
or(this)
false
true
false
Loading...
Continuous OR of simple sequence:
yield or(this)
false
true
false
Loading...
Unrecognized types are ignored and not coerced for truthiness:
yield or(this)
false
"foo"
1
true
false
Loading...
OR of values grouped by key:
or(a) by k |> sort
{a:true,k:1}
{a:false,k:1}
{a:false,k:2}
{a:false,k:2}
Loading...