Returns a Boolean value indicating whether the corresponding components of two tuples are equal.
- Xcode 8.0+
- Swift Standard Library
A tuple of
Another tuple of elements of the same type as
For two tuples to compare as equal, each corresponding pair of components must be equal. The following example compares tuples made up of 4 components: