Returns a Boolean value indicating whether the corresponding components of two tuples are equal.

    func == <A, B, C, D>(lhs: (A, B, C, D), rhs: (A, B, C, D)) -> Bool where A : Equatable, B : Equatable, C : Equatable, D : Equatable



    A tuple of Equatable elements.


    Another tuple of elements of the same type as lhs.


    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:

    let a = ("a", 1, 2, 3)
    let b = ("a", 1, 2, 3)
    print(a == b)
    // Prints "true"
    let c = ("a", 1, 2, 4)
    print(a == c)
    // Prints "false"