11 lines
249 B
Text
11 lines
249 B
Text
```doc
|
|
# Greater
|
|
|
|
Values which wish to implement the `>` infix operator must implement this protocol.
|
|
```
|
|
protocol Greater, as: do
|
|
```doc
|
|
Compare `self` and `other`, returning a Boolean.
|
|
```
|
|
def greater?(self: Self, other: Any): Boolean
|
|
end
|