fn scalar_contains_isnull(expr: &MirScalarExpr) -> bool {
    let mut result = false;
    expr.visit_post(&mut |e| {
        if let MirScalarExpr::CallUnary {
            func: UnaryFunc::IsNull(func::IsNull),
            ..
        } = e
        {
            result = true;
        }
    });
    result
}
/// True if the expression contains a "is null" test.
True if the expression contains a "is null" test.
True if the expression contains a " is null " test .
fn scalar_contains_isnull(expr: &MirScalarExpr) -> bool {
    let mut result = false;
    expr.visit_post(&mut |e| {
        if let MirScalarExpr::CallUnary {
            func: UnaryFunc::IsNull(func::IsNull),
            ..
        } = e
        {
            result = true;
        }
    });
    result
}
fn scalar_contains_isnull ( expr : & MirScalarExpr ) -> bool { let mut result = false ; expr . visit_post ( & mut | e | { if let MirScalarExpr :: CallUnary { func : UnaryFunc :: IsNull ( func :: IsNull ) , .. } = e { result = true ; } } ) ; result }
True if the expression contains a "is null" test.
True if the expression contains a " is null " test .
expr
&MirScalarExpr
expr
&MirScalarExpr