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