Skip to main content

lit_value_of

Function lit_value_of 

Source
fn lit_value_of(expr: &Expr<'_>) -> Option<(bool, U256)>
Expand description

Extracts a signed constant from a numeric literal or negated numeric literal, returning (is_negative, magnitude).