A closed type.
A closed type is a type which is fully resolved and bound and contains no open type variables. All instance types are closed at runtime.
You have only four sorts of types:
no type hierarchy
no supertypes hierarchy
Inherited Attributes |
Attributes inherited from: Object |
Methods | |
exactly | Source Codeshared formal Boolean exactly(Type<Anything> type) True if the given type is a exactly this type. |
subtypeOf | Source Codeshared default Boolean subtypeOf(Type<Anything> type) True if this type is a subtype of the given type, or if both types are the same. |
supertypeOf | Source Codeshared formal Boolean supertypeOf(Type<Anything> type) True if this type is a supertype of the given type, or if both types are the same. |
typeOf | Source Codeshared formal Boolean typeOf(Anything instance) True if the given instance is of this type, or is of a subtype of this type. |
Inherited Methods |
Methods inherited from: Object |