Handbook
Glossary
dlist? ( object -- ? )
Factor handbook
»
The language
»
Collections
»
Double-linked lists
Prev:
dlist
Next:
<dlist> ( -- list )
Vocabulary
dlists
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
dlist
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
dlists
:
dlist?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
dlist
eq?
]
[
drop
f
]
if
;