instance? ( object class -- ? )
Factor handbook > The language > Objects > Classes

Prev:class-of ( object -- class )
Next:superclass-of ( class -- super )


Vocabulary
classes

Inputs and outputs
objectan object
classa class
?a boolean


Word description
Tests whether the input object is a member of the class.

Definition

GENERIC: instance? ( object class -- ? ) flushable


Methods