between

Function between 

Source
pub fn between(
    arr: ExprRef,
    lower: ExprRef,
    upper: ExprRef,
    options: BetweenOptions,
) -> ExprRef
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);