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