adjustable-array-p (ANSI and GNU Common Lisp Document)

Next: aref, Previous: adjust-array, Up: Arrays Dictionary

#### 15.2.9 adjustable-array-p [Function]

`adjustable-array-p` array ⇒ generalized-boolean

#### Arguments and Values::

array—an array.

generalized-boolean—a generalized boolean.

#### Description::

Returns true if and only if adjust-array could return a value which is identical to array when given that array as its first argument.

#### Examples::

     (adjustable-array-p
       (make-array 5
                   :element-type 'character
                   :adjustable t
                   :fill-pointer 3)) ⇒  true
     (adjustable-array-p (make-array 4)) ⇒  implementation-dependent

#### Exceptional Situations::

Should signal an error of type type-error if its argument is not an array.

#### See Also::

adjust-array , make-array