or

Function or 

Source
pub fn or(lhs: Expression, rhs: Expression) -> Expression
Expand description

Create a new Binary using the Or operator.

ยงExample usage

let xs = BoolArray::from_iter(vec![true, false, true]);
let result = or(root(), lit(false)).evaluate(&xs.to_array()).unwrap();

assert_eq!(
    result.to_bool().bit_buffer(),
    BoolArray::from_iter(vec![true, false, true]).bit_buffer(),
);