manpagez: man pages & more
info goops
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.10.3 Instances

primitive procedure: class-of value

Return the GOOPS class of any Scheme value.

primitive procedure: instance? object

Return #t if object is any GOOPS instance, otherwise #f.

procedure: is-a? object class

Return #t if object is an instance of class or one of its subclasses.

Implementation notes: is-a? uses class-of and class-precedence-list to obtain the class precedence list for object.


© manpagez.com 2000-2025
Individual documents may contain additional copyright information.