Handbook
Glossary
growable? ( object -- ? )
Vocabulary
growable
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
growable
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
specialized-vectors.instances.alien.c-types.uint
specialized-vectors.instances.alien.c-types.ushort
specialized-vectors.instances.game.loop.benchmark.game-loop-benchmark
specialized-vectors.instances.gpu.demos.bunny.bunny-vertex-struct
specialized-vectors.instances.math.vectors.simd.float-4
;
IN:
growable
:
growable?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
dup
\
bunny-vertex-struct-vector
eq?
[
drop
t
]
[
dup
\
uint-vector
eq?
[
drop
t
]
[
dup
\
float-4-vector
eq?
[
drop
t
]
[
dup
\
ushort-vector
eq?
[
drop
t
]
[
dup
\
game-loop-benchmark-vector
eq?
~quotation~ ~quotation~
if
]
if
]
if
]
if
]
if
]
[
drop
f
]
if
;