Handbook
Glossary
mixin-class? ( object -- ? )
Factor handbook
»
The language
»
Objects
»
Classes
»
Mixin classes
Prev:
mixin-class
Vocabulary
classes
.
mixin
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
mixin-class
class.
Definition
USING:
classes.union
kernel
words
;
IN:
classes.mixin
:
mixin-class?
( object -- ? )
dup
union-class?
[
"mixin"
word-prop
]
[
drop
f
]
if
;