| Did you know ... | Search Documentation: |
| object->instance_of |
<-convert
converts class-names to
class objects:
send(Obj, instance_of, graphical)
is the advised way to verify that Obj is a graphical.
The method pce<-convert
may be used to combine testing with possible type conversion. See also type->validate
and type<-check.
If one wants to test whether an object is a graphical
object, a node object
or @nil, the
following two test are equivalent:
( send(Obj, instance_of, graphical) ; send(Obj, instance_of, node) ; Obj == @nil )
or
send(type('graphical|node*'), validate, Obj)
<-convert