12 lines
231 B
Text
12 lines
231 B
Text
|
```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
|