Returns a Boolean value indicating whether two values are equal.
Required.
SDK
- Xcode 7.0+
Framework
- Swift Standard Library
Declaration
static func == (lhs: Self, rhs: Self) -> Bool
Parameters
lhsA value to compare.
rhsAnother value to compare.
Discussion
Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.