Skip to content

RefType

Type indicates the name of a given type.

hasTrait(trait): boolean

HasTrait returns whether the type has a given trait associated with it.

See common/types/traits/traits.go for a list of supported traits.

number

boolean


typeName(): string

TypeName returns the qualified type name of the type.

The type name is also used as the type’s identifier name at type-check and interpretation time.

string