outrun/outrun-core/lib/greater.run

14 lines
270 B
Text

use Any
use Boolean
```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