Represents a type in the program, like Int32 or String.
Returns true if this type is abstract.
Returns true if this type has an attribute.
Returns the instance variables of this type.
Returns the number of elements in this tuple type or tuple metaclass type.
Returns the instance methods defined by this type, without including inherited methods.
Returns the fully qualified name of this type.
Returns the constants and types defined by this type.
Returns the direct superclass of this type.
Returns the type parameters of the generic type.
Returns true if this type is a union type, false otherwise.
Returns the types comforming a union type, if this is a union type.
Returns true if this type is abstract.
Returns true if this type has an attribute. For example @[Flags]
or @[Packed] (the name you pass to this method is "Flags" or "Packed"
in these cases).
Returns the instance variables of this type.
Returns the number of elements in this tuple type or tuple metaclass type. Gives a compile error if this is not one of those types.
Returns the instance methods defined by this type, without including inherited methods.
Returns the fully qualified name of this type.
Returns the constants and types defined by this type.
Returns the direct superclass of this type.
Returns the type parameters of the generic type. If the type is not generic, an empty array is returned.
Returns true if this type is a union type, false otherwise.
See also: #union_types.
Returns the types comforming a union type, if this is a union type. Gives a compile error otherwise.
See also: #union?.