outrun/outrun-core/lib/equality.run

11 lines
250 B
Text

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