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