Goops Manual (original) (raw)
Node:Instances, Next:Generic Functions, Previous:Slots, Up:Introspection
3.10.3 Instances
class-of value | primitive procedure |
---|
Return the GOOPS class of any Scheme value.
instance? object | primitive procedure |
---|
Return #t
if object is any GOOPS instance, otherwise#f
.
is-a? object class | procedure |
---|
Return #t
if object is an instance of class or one of its subclasses.
Implementation notes: is-a?
uses class-of
andclass-precedence-list
to obtain the class precedence list forobject.