Operator

==(_:_:)

Returns a Boolean value indicating whether two values are equal.

Declaration

static func == (a: Result<Success, Failure>, b: Result<Success, Failure>) -> Bool
Available when Success conforms to Equatable and Failure conforms to Equatable.

Parameters

lhs

A value to compare.

rhs

Another value to compare.

Discussion

Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.

Relationships

From Protocol

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software