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