Next: , Previous: , Up: Arrays Dictionary  


15.2.32 vectorp [Function]

vectorp objectgeneralized-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)