Handbook
Glossary
incorrect-type-in-enum-value? ( object -- ? )
Vocabulary
classes
.
enumeration
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
incorrect-type-in-enum-value
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
classes.enumeration
:
incorrect-type-in-enum-value?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
incorrect-type-in-enum-value
eq?
]
[
drop
f
]
if
;