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