is_bool_lit

Function is_bool_lit 

Source
pub fn is_bool_lit(expr: &Expr) -> bool
Expand description

returns true if expr is a Expr::Literal(ScalarValue::Boolean(v)) , false otherwise