Handbook
Glossary
variant-class? ( object -- ? )
Vocabulary
variants
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
variant-class
class.
Definition
USING:
classes.mixin
kernel
words
;
IN:
variants
:
variant-class?
( object -- ? )
dup
mixin-class?
[
"variant?"
word-prop
]
[
drop
f
]
if
;