CLCS
Function

adjustable-array-p

adjustable-array-p arraygeneralized-boolean

Arguments and Values

arrayan array.
generalized-booleana 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.