vocab? ( object -- ? )
Factor documentation > Factor handbook > The implementation > Vocabularies
Prev:vocab
Next:vocab-link


Vocabulary
vocabs

Inputs and outputs
objectan object
?a boolean


Word description
Tests if the object is an instance of the vocab class.

Definition
USING: classes.tuple.private ;

IN: vocabs

: vocab? ( object -- ? ) \ vocab 9 tuple-instance? ;