Skip to main content

is_exactly_var

Function is_exactly_var 

Source
fn is_exactly_var<'hir>(expr: &'hir Expr<'hir>, variable: VariableId) -> bool
Expand description

The variable itself, behind parentheses and value-preserving conversions: to, (to), IERC721Receiver(to), payable(to). Anything else, guardians[to] or IERC721Receiver(other), is a different value, and asking it about the token says nothing about the recipient.