listp


(listp  item)

This function determines whether the input item is a list.

Arguments

item  any Lisp atom or list or expression

Return

T if the input item is a list, NIL otherwise

Example

(listp 123)  returns NIL
(listp '(123)) returns T
(listp "abc")  returns NIL
(listp '(1 . 2))  returns T

Remarks

a "DottedPair" is also a list



©  Bricsys NV. All rights reserved.