Handbook
Glossary
no-payload? ( object -- ? )
Vocabulary
tools
.
image-analyzer
.
data-heap-reader
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
no-payload
class.
Definition
USING:
classes.tuple.private
kernel
math.private
slots.private
tools.image-analyzer.vm
;
IN:
tools.image-analyzer.data-heap-reader
:
no-payload?
( object -- ? )
dup
tuple?
[
layout-of
dup
1
slot
9
fixnum>=
[
9
slot
dup
\
word
eq?
[
drop
t
]
[
dup
\
wrapper
eq?
[
drop
t
]
[
dup
\
quotation
eq?
[
drop
t
]
[
dup
\
dll
eq?
~quotation~ ~quotation~
if
]
if
]
if
]
if
]
[
drop
f
]
if
]
[
drop
f
]
if
;