www.delorie.com/gnu/docs/guile/goops_45.html   search  
Buy GNU books!

Goops Manual

[ < ] [ > ]   [ << ] [ 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.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003