Attributes
stringshared actual String string

A developer-friendly string representing the instance. Concatenates the name of the concrete class of the instance with the hash of the instance. Subclasses are encouraged to refine this implementation to produce a more meaningful representation.

Inherited Attributes
Attributes inherited from: Object
Methods
exactlyshared actual Boolean exactly(Type<Anything> type)

True if the given type is a exactly this type.

Refines Type.exactly
intersectionshared actual Type<Nothing> intersection<Other>(Type<Other> type)

The intersection of this type with the other type.

subtypeOfshared actual Boolean subtypeOf(Type<Anything> type)

True if this type is a subtype of the given type, or if both types are the same.

supertypeOfshared actual Boolean supertypeOf(Type<Anything> type)

True if this type is a supertype of the given type, or if both types are the same.

typeOfshared actual Boolean typeOf(Anything instance)

True if the given instance is of this type, or is of a subtype of this type.

Refines Type.typeOf
unionshared actual Type<Other> union<Other>(Type<Other> type)

The union of this type with the other type.

Refines Type.union
Inherited Methods
Methods inherited from: Object
Methods inherited from: Type<Target>