Skip to main content

type_of

Function type_of 

Source
pub fn type_of(
    expr: &Expr,
    expected: Option<&Ty>,
    ctx: &mut Ctx<'_>,
) -> Option<Ty>