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