AnyEquatable
public protocol AnyEquatable
A type erased Equatable conformance.
When defining a custom protocol which should conform to the Equatable
protocol then
comparing two instances of those protocol references still doesn’t work.
Conform to this protocol instead to make it possible to compare two references.
-
Undocumented
Declaration
Swift
func isEqualTo(_ other: AnyEquatable) -> Bool
-
isEqualTo(_:
Default implementation) Default Implementation
Undocumented
Declaration
Swift
func isEqualTo(_ other: AnyEquatable) -> Bool