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