adjustable-array-p (original) (raw)

ANSI Common Lisp 15 Arrays 15.2 Dictionary of Arrays

15.2.9 adjustable-array-p Function

Syntax:

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

Allegro CL Implementation Details:

None.