Operator

==(_:_:)

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

Declaration

func == (lhs: (), rhs: ()) -> Bool

Parameters

lhs

An empty tuple.

rhs

An empty tuple.

Discussion

All arity zero tuples are equal.

See Also

Tuple Comparison

func == <A, B>((A, B), (A, B)) -> Bool

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

func == <A, B, C>((A, B, C), (A, B, C)) -> Bool

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

func == <A, B, C, D>((A, B, C, D), (A, B, C, D)) -> Bool

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

func == <A, B, C, D, E>((A, B, C, D, E), (A, B, C, D, E)) -> Bool

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

func == <A, B, C, D, E, F>((A, B, C, D, E, F), (A, B, C, D, E, F)) -> Bool

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

func != ((), ()) -> Bool

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

func != <A, B>((A, B), (A, B)) -> Bool

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

func != <A, B, C>((A, B, C), (A, B, C)) -> Bool

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

func != <A, B, C, D>((A, B, C, D), (A, B, C, D)) -> Bool

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

func != <A, B, C, D, E>((A, B, C, D, E), (A, B, C, D, E)) -> Bool

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

func != <A, B, C, D, E, F>((A, B, C, D, E, F), (A, B, C, D, E, F)) -> Bool

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