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