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