aztec-nr - std

Primitive type TypedExpr

Implementations

impl TypedExpr

pub comptime fn as_function_definition(self) -> Option<FunctionDefinition>

If this expression refers to a function definitions, returns it. Otherwise returns Option::none().

pub comptime fn get_type(self) -> Option<Type>

Returns the type of the expression, if the expression could be resolved without errors.