between

Function between 

Source
pub fn between(
    arr: Expression,
    lower: Expression,
    upper: Expression,
    options: BetweenOptions,
) -> Expression
Expand description

Creates an expression that checks if values are between two bounds.

Returns a boolean array indicating which values fall within the specified range. The comparison strictness is controlled by the options parameter.

let opts = BetweenOptions {
    lower_strict: StrictComparison::NonStrict,
    upper_strict: StrictComparison::NonStrict,
};
let expr = between(root(), lit(10), lit(20), opts);