12 lines
234 B
Text
12 lines
234 B
Text
|
deftrait LogicalNot, as: ->
|
||
|
typedoc """
|
||
|
This Trait defines logical negation and is used by the runtime everywhere it
|
||
|
encounters a `!` operator.
|
||
|
"""
|
||
|
|
||
|
doc """
|
||
|
Return the logical opposite of self.
|
||
|
"""
|
||
|
def logical_not
|
||
|
end
|