bit-vector-p (ANSI and GNU Common Lisp Document)

Next: simple-bit-vector-p, Previous: bit-and, Up: Arrays Dictionary

#### 15.2.35 bit-vector-p [Function]

`bit-vector-p` object ⇒ generalized-boolean

#### Arguments and Values::

object—an object.

generalized-boolean—a generalized boolean.

#### Description::

Returns true if object is of type bit-vector; otherwise, returns false.

#### Examples::

     (bit-vector-p (make-array 6
                               :element-type 'bit
                               :fill-pointer t)) ⇒  true
     (bit-vector-p #*) ⇒  true
     (bit-vector-p (make-array 6)) ⇒  false

#### See Also::

typep

#### Notes::

     (bit-vector-p object) ≡ (typep object 'bit-vector)