Function rslint_core::util::is_const[][src]

pub fn is_const(expr: Expr, boolean_pos: bool, notes: &mut Vec<&str>) -> bool
Expand description

Check whether an expr is constant and is always falsey or truthy