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