vectorp (ANSI and GNU Common Lisp Document)

Next: bit (Array), Previous: vector-push, Up: Arrays Dictionary

#### 15.2.32 vectorp [Function]

`vectorp` object ⇒ generalized-boolean

#### Arguments and Values::

object—an object.

generalized-boolean—a generalized boolean.

#### Description::

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

#### Examples::

     (vectorp "aaaaaa") ⇒  true
     (vectorp (make-array 6 :fill-pointer t)) ⇒  true
     (vectorp (make-array '(2 3 4))) ⇒  false
     (vectorp #*11) ⇒  true
     (vectorp #b11) ⇒  false

#### Notes::

     (vectorp object) ≡ (typep object 'vector)