neo_solidity/ir/expressions/member_access/
helpers.rs1fn typeof_argument(expr: &Expression) -> Option<&Expression> {
2 if let Expression::FunctionCall(_, func, args) = expr {
3 if args.len() == 1 && matches!(func.as_ref(), Expression::Variable(id) if id.name == "type")
4 {
5 return Some(&args[0]);
6 }
7 }
8
9 None
10}