subclass-of? ( class superclass -- ? )
Factor handbook » The language » Objects » Classes

Prev:superclasses-of ( class -- supers )
Next:Class predicate words


Vocabulary
classes

Inputs
classa class
superclassa class


Outputs
?a boolean


Word description
Outputs a boolean value indicating whether class is at any level a subclass of superclass.

Examples
USING: classes classes.tuple prettyprint words ; tuple-class \ class subclass-of? .
t


See also
superclass-of, superclasses-of

Definition