-
Hashes the salient parts of the wrapped value into
hasher.Declaration
Swift
func hash(into hasher: inout Hasher) -
Returns whether the value wrapped inside
selfis equal to that wrapped insideother.Declaration
Swift
func equals<Other>(_ other: Other) -> Bool where Other : TermBox -
Returns the value wrapped inside
selfwith its type erased.Declaration
Swift
func unwrap() -> any TermProtocol -
Returns the value wrapped inside
selfas an instance ofTornilif that value has a different type.Declaration
Swift
func unwrap<T>(as: T.Type) -> T? where T : TermProtocol
View on GitHub