Handbook
Glossary
array-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
array-payload
class.
Definition
USING:
classes.tuple.private
kernel
math.private
slots.private
tools.image.analyzer.vm
;
IN:
tools.image.analyzer.data-heap-reader
:
array-payload?
( object -- ? )
dup
tuple?
[
layout-of
dup
1
slot
9
fixnum>=
[
9
slot
dup
\
bignum
eq?
[
drop
t
]
[
\
array
eq?
]
if
]
[
drop
f
]
if
]
[
drop
f
]
if
;