Primitive type TypedExpr
Implementations
impl TypedExpr
pub comptime fn as_function_definition(self) -> Option<FunctionDefinition>
pub comptime fn get_type(self) -> Option<Type>
Returns the type of the expression, if the expression could be resolved without errors.
If this expression refers to a function definitions, returns it. Otherwise returns
Option::none().