Returns a Boolean value indicating whether the first tuple is ordered after the second in a lexicographical ordering.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
func > <A, B, C, D>(lhs: (A, B, C, D), rhs: (A, B, C, D)) -> Bool where A : Comparable, B : Comparable, C : Comparable, D : Comparable
Parameters
lhsA tuple of
Comparableelements.rhsAnother tuple of elements of the same type as
lhs.
Discussion
Given two tuples (a1, a2, ..., a and (b1, b2, ..., b, the first tuple is after the second tuple if and only if a1 > b1 or (a1 == b1 and (a2, ..., a).