Returns a Boolean value indicating whether any corresponding components of the two tuples are not equal.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
Parameters
lhs
A tuple of
Equatable
elements.rhs
Another tuple of elements of the same type as
lhs
.
Discussion
For two tuples to compare as equal, each corresponding pair of components must be equal. The following example compares tuples made up of 5 components: