12 lines
227 B
Text
12 lines
227 B
Text
|
deftrait Equality, as: ->
|
||
|
typedoc """
|
||
|
This Trait defines an equality check and is used by the runtime everywhere it
|
||
|
encounters a `==` operator.
|
||
|
"""
|
||
|
|
||
|
doc """
|
||
|
Does other equal self?
|
||
|
"""
|
||
|
def equals? other: Any
|
||
|
end
|