operator
>
{
associativity
precedence
}
Declarations
Returns a Boolean value indicating whether the first tuple is ordered after the second in a lexicographical ordering.
Given two tuples (a1, a2, ..., aN)
and (b1, b2, ..., bN)
, the first
tuple is after the second tuple if and only if
a1 > b1
or (a1 == b1
and
(a2, ..., aN) > (b2, ..., bN)
).
Parameters:
lhs: A tuple of Comparable
elements.
rhs: Another tuple of elements of the same type as lhs
.
Declaration
func
>
<
A
,
B
,
C
,
D
,
E
,
F
>
(
lhs
: (
A
,
B
,
C
,
D
,
E
,
F
),
rhs
: (
A
,
B
,
C
,
D
,
E
,
F
)) -
>
Bool
where
A
:
Comparable
,
B
:
Comparable
,
C
:
Comparable
,
D
:
Comparable
,
E
:
Comparable
,
F
:
Comparable
Returns a Boolean value indicating whether the first tuple is ordered after the second in a lexicographical ordering.
Given two tuples (a1, a2, ..., aN)
and (b1, b2, ..., bN)
, the first
tuple is after the second tuple if and only if
a1 > b1
or (a1 == b1
and
(a2, ..., aN) > (b2, ..., bN)
).
Parameters:
lhs: A tuple of Comparable
elements.
rhs: Another tuple of elements of the same type as lhs
.
Declaration
func
>
<
A
,
B
,
C
,
D
,
E
>
(
lhs
: (
A
,
B
,
C
,
D
,
E
),
rhs
: (
A
,
B
,
C
,
D
,
E
)) -
>
Bool
where
A
:
Comparable
,
B
:
Comparable
,
C
:
Comparable
,
D
:
Comparable
,
E
:
Comparable
Returns a Boolean value indicating whether the first tuple is ordered after the second in a lexicographical ordering.
Given two tuples (a1, a2, ..., aN)
and (b1, b2, ..., bN)
, the first
tuple is after the second tuple if and only if
a1 > b1
or (a1 == b1
and
(a2, ..., aN) > (b2, ..., bN)
).
Parameters:
lhs: A tuple of Comparable
elements.
rhs: Another tuple of elements of the same type as lhs
.
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
Returns a Boolean value indicating whether the first tuple is ordered after the second in a lexicographical ordering.
Given two tuples (a1, a2, ..., aN)
and (b1, b2, ..., bN)
, the first
tuple is after the second tuple if and only if
a1 > b1
or (a1 == b1
and
(a2, ..., aN) > (b2, ..., bN)
).
Parameters:
lhs: A tuple of Comparable
elements.
rhs: Another tuple of elements of the same type as lhs
.
Declaration
func
>
<
A
,
B
,
C
>
(
lhs
: (
A
,
B
,
C
),
rhs
: (
A
,
B
,
C
)) -
>
Bool
where
A
:
Comparable
,
B
:
Comparable
,
C
:
Comparable
Returns a Boolean value indicating whether the first tuple is ordered after the second in a lexicographical ordering.
Given two tuples (a1, a2, ..., aN)
and (b1, b2, ..., bN)
, the first
tuple is after the second tuple if and only if
a1 > b1
or (a1 == b1
and
(a2, ..., aN) > (b2, ..., bN)
).
Parameters:
lhs: A tuple of Comparable
elements.
rhs: Another tuple of elements of the same type as lhs
.
Declaration
func
>
<
A
,
B
>
(
lhs
: (
A
,
B
),
rhs
: (
A
,
B
)) -
>
Bool
where
A
:
Comparable
,
B
:
Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
Declared In
Int
, FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
Declared In
Int8
, FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
Declared In
Int16
, FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
Declared In
Int32
, FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
Declared In
Int64
, FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
BinaryFloatingPoint
, FloatingPoint
, Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Strideable
, Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Strideable
, Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Strideable
, Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Strideable
, Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
This is the default implementation of the greater-than operator (>
) for
any type that conforms to Comparable
.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
(
lhs
:
Self
,
rhs
:
Self
) -
>
Bool
Declared In
Strideable
, Comparable
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
Declared In
UInt
, FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
Declared In
UInt8
, FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
Declared In
UInt16
, FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
Declared In
UInt32
, FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
Declared In
UInt64
, FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
You can compare instances of any BinaryInteger
types using the
greater-than operator (>
), even if the two instances are of different
types.
Parameters: lhs: An integer to compare. rhs: Another integer to compare.
Declaration
func
>
<
Other
>
(
lhs
:
Self
,
rhs
:
Other
) -
>
Bool
where
Other
:
BinaryInteger
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
You can compare instances of any BinaryInteger
types using the
greater-than operator (>
), even if the two instances are of different
types.
Parameters: lhs: An integer to compare. rhs: Another integer to compare.
Declaration
func
>
<
Other
>
(
lhs
:
Self
,
rhs
:
Other
) -
>
Bool
where
Other
:
BinaryInteger
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
You can compare instances of any BinaryInteger
types using the
greater-than operator (>
), even if the two instances are of different
types.
Parameters: lhs: An integer to compare. rhs: Another integer to compare.
Declaration
func
>
<
Other
>
(
lhs
:
Self
,
rhs
:
Other
) -
>
Bool
where
Other
:
BinaryInteger
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
You can compare instances of any BinaryInteger
types using the
greater-than operator (>
), even if the two instances are of different
types.
Parameters: lhs: An integer to compare. rhs: Another integer to compare.
Declaration
func
>
<
Other
>
(
lhs
:
Self
,
rhs
:
Other
) -
>
Bool
where
Other
:
BinaryInteger
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
You can compare instances of any BinaryInteger
types using the
greater-than operator (>
), even if the two instances are of different
types.
Parameters: lhs: An integer to compare. rhs: Another integer to compare.
Declaration
func
>
<
Other
>
(
lhs
:
Self
,
rhs
:
Other
) -
>
Bool
where
Other
:
BinaryInteger
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
You can compare instances of any BinaryInteger
types using the
greater-than operator (>
), even if the two instances are of different
types.
Parameters: lhs: An integer to compare. rhs: Another integer to compare.
Declaration
func
>
<
Other
>
(
lhs
:
Self
,
rhs
:
Other
) -
>
Bool
where
Other
:
BinaryInteger
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
You can compare instances of any BinaryInteger
types using the
greater-than operator (>
), even if the two instances are of different
types.
Parameters: lhs: An integer to compare. rhs: Another integer to compare.
Declaration
func
>
<
Other
>
(
lhs
:
Self
,
rhs
:
Other
) -
>
Bool
where
Other
:
BinaryInteger
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
You can compare instances of any BinaryInteger
types using the
greater-than operator (>
), even if the two instances are of different
types.
Parameters: lhs: An integer to compare. rhs: Another integer to compare.
Declaration
func
>
<
Other
>
(
lhs
:
Self
,
rhs
:
Other
) -
>
Bool
where
Other
:
BinaryInteger
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
You can compare instances of any BinaryInteger
types using the
greater-than operator (>
), even if the two instances are of different
types.
Parameters: lhs: An integer to compare. rhs: Another integer to compare.
Declaration
func
>
<
Other
>
(
lhs
:
Self
,
rhs
:
Other
) -
>
Bool
where
Other
:
BinaryInteger
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
You can compare instances of any BinaryInteger
types using the
greater-than operator (>
), even if the two instances are of different
types.
Parameters: lhs: An integer to compare. rhs: Another integer to compare.
Declaration
func
>
<
Other
>
(
lhs
:
Self
,
rhs
:
Other
) -
>
Bool
where
Other
:
BinaryInteger
Declared In
FixedWidthInteger
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Parameters: lhs: A value to compare. rhs: Another value to compare.
Declaration
func
>
<
R
>
(
lhs
:
Self
,
rhs
:
R
) -
>
Bool
where
R
:
StringProtocol
Declared In
StringProtocol
, Comparable
40 inherited items hidden. (Show all)
Returns a Boolean value indicating whether the first tuple is ordered after the second in a lexicographical ordering.
An arity zero tuple is never strictly after another arity zero tuple in a lexicographical ordering.
Parameters: lhs: An empty tuple. rhs: An empty tuple.
Declaration
func
>
(
lhs
: (),
rhs
: ()) -
>
Bool