outrun/outrun-core/lib/less.outrun

14 lines
261 B
Text

use Any
use Boolean
```doc
# Less
Values which wish to implement the `<` infix operator must implement this protocol.
```
protocol Less, as: do
```doc
Compare `self` and `other`, returning a Boolean.
```
def less?(self: Self, other: Any): Boolean
end