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