outrun/lib/less.run

12 lines
231 B
Text
Raw Normal View History

2022-08-04 17:38:00 +12:00
```doc
# Less
Values which wish to implement the `<` infix operator must implement this protocol.
```
protocol Less, as:
```doc
Compare `lhs` and `rhs`, returning a Boolean.
```
def less?(lhs: Self, rhs: Any): Boolean
end