Skip to main content

is_constant

Function is_constant 

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

Return true if the Expr is a literal or tuple of literals.