listp

(listp element)

The listp function verifies if the given argument element is a list.

The function returns T if element is a list; otherwise, it returns nil.

Examples

: (listp '(1 2 3 ))

T

: (listp 1)

nil

: (listp "abc")

nil