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