Skip to main content

Mojo function

get_type_name

get_type_name[type_type: AnyTrivialRegType, //, type: type_type]() -> StringSlice[StaticConstantOrigin]

Returns the struct name of the given type parameter.

Parameters:

Returns:

StringSlice: Type name.

Was this page helpful?