Test for equality. Succeeds if both equal<-left
and equal<-right
are equal (compared by reference). The following example returns the
first object called gnu in Chain:
get(Chain, find, @arg1?name == gnu, Gnu)
See also class \== and object->equal.
- See also
-
- object
->equal
- class \==
- topic Conditions
- object->is_on
- object->is_off
- object->has_value
- equal <->left:
-
Operant. If it is a function
object, it will be evaluated by
equal
->_execute.
- equal <->right:
-
Inherits description from: ==-left
- equal ->_execute:
-
If either or both operant is a function, evaluate it. Next succeed if
the references of both operants is the same.
- equal ->initialise:
-
Create from equal
<-left
and equal<-right
operant. Either or both may be a function, which is evaluated by equal->_execute.