vl-consp
 
 
 

Determines whether or not a list is nil

(vl-consp list-variable) 

The vl-consp function determines whether a variable contains a valid list definition.

Arguments

list-variable

A list.

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