rslint_core::util
pub fn is_const(expr: Expr, boolean_pos: bool, notes: &mut Vec<&str>) -> bool
Check whether an expr is constant and is always falsey or truthy