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