11 lines
240 B
Text
11 lines
240 B
Text
```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
|