The vl-consp function determines whether a variable contains a valid list definition.
Arguments
-
list-variable
-
Return Values
T, if list-variable is a list and is not nil; otherwise nil.
Examples
(vl-consp nil)
nil
(vl-consp t)
nil
(vl-consp (cons 0 "LINE"))
T