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