Skip to main content

is_zero_value

Function is_zero_value 

Source
pub fn is_zero_value(expr: &Expr<'_>) -> bool
Expand description

A literal zero/false or an elementary cast or arithmetic negation of one.