pub fn lt_eq_scalar(lhs: &BooleanArray, rhs: bool) -> BooleanArray {
    if rhs {
        let all_ones = !0;
        compare_op_scalar(lhs, rhs, |_, _| all_ones)
    } else {
        compare_op_scalar(lhs, rhs, |a, _| !a)
    }
}
/// Perform `left <= right` operation on an array and a scalar value.
/// Null values are less than non-null values.
Perform `left <= right` operation on an array and a scalar value.
Null values are less than non-null values.
Perform ` left < = right ` operation on an array and a scalar value . Null values are less than non - null values .
pub fn lt_eq_scalar(lhs: &BooleanArray, rhs: bool) -> BooleanArray {
    if rhs {
        let all_ones = !0;
        compare_op_scalar(lhs, rhs, |_, _| all_ones)
    } else {
        compare_op_scalar(lhs, rhs, |a, _| !a)
    }
}
pub fn lt_eq_scalar ( lhs : & BooleanArray , rhs : bool ) -> BooleanArray { if rhs { let all_ones = ! 0 ; compare_op_scalar ( lhs , rhs , | _ , _ | all_ones ) } else { compare_op_scalar ( lhs , rhs , | a , _ | ! a ) } }
Perform `left <= right` operation on an array and a scalar value.
Perform ` left < = right ` operation on an array and a scalar value .
lhs
&BooleanArray
rhs
bool
lhs
&BooleanArray
rhs
bool