TypeID
A nominal wrapper around Any.Type that conforms to useful protocols.
Note that the Comparable conformance will not have a stable ordering across program
invocations. If reproducible ordering is important, you can sacrifice performance for stability
by using String(reflecting: self.value) as a sort key.
-
Creates an instance identifying
t -
The type identified by
self. -
Returns true iff
aandbrepresent the same type. -
Returns true iff
ais ordered beforebin a total ordering over all types. -
Accumulates the value of
selfintoh. -
A description of the value
self. -
An elaborated description of the value
self.
View on GitHub
TypeID Structure Reference