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:
- type_type (
AnyTrivialRegType
): Type of type. - type (
type_type
): A mojo type.
Returns:
Type name.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!