outrun/outrun-core/lib/logical_not.outrun

14 lines
254 B
Text
Raw Normal View History

2022-08-22 11:30:39 +12:00
```doc
# LogicalNot
Values which wish to implement the `!` unary operator must implement this protocol.
```
protocol LogicalNot, as: do
```doc
Return the logical inverse of the value.
Must be implemented.
```
def not(self: Self): Boolean
end