Handbook
Glossary
vector? ( object -- ? )
Factor handbook
»
The language
»
Collections
»
Vectors
Prev:
vector
Next:
>vector ( seq -- vector )
Vocabulary
vectors
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
vector
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
vectors
:
vector?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
vector
eq?
]
[
drop
f
]
if
;