outrun/lib/greater.run

11 lines
240 B
Text

```doc
# Greater
Values which wish to implement the `>` infix operator must implement this protocol.
```
protocol Greater, as:
```doc
Compare `lhs` and `rhs`, returning a Boolean.
```
def greater?(lhs: Self, rhs: Any): Boolean
end