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