ContentEquatable
public protocol ContentEquatable
Represents a value that can compare whether the content are equal.
-
isContentEqual(to:)Default implementationIndicate whether the content of
selfis equals to the content of the given source value.Default Implementation
Indicate whether the content of
selfis equals to the content of the given source value. Compared using==operator of `Equatable’.Declaration
Swift
func isContentEqual(to source: Self) -> BoolParameters
sourceA source value to be compared.
Return Value
A Boolean value indicating whether the content of
selfis equals to the content of the given source value.
View on GitHub
ContentEquatable Protocol Reference