The 'arrayp' predicate function checks if 'expr' is an array. T is returned if 'expr' is an array, NIL is returned otherwise.
(arrayp #(0 1 2)) ; returns T - array (setq a #(a b c)) (arrayp a) ; returns T - evaluates to array (arrayp '(a b c)) ; returns NIL - list (arrayp 1) ; returns NIL - integer (arrayp 1.2) ; returns NIL - float (arrayp 'a) ; returns NIL - symbol (arrayp #\a) ; returns NIL - character (arrayp NIL) ; returns NIL - NIL
See the