Function: nlistp
nlistp is a function defined in data.c.
Signature
(nlistp OBJECT)
Documentation
Return t if OBJECT is not a list. Lists include nil.
Other relevant functions are documented in the list group.
Shortdoc
;; list
(nlistp '(1 2 3))
=> nil
(nlistp t)
=> t
(nlistp '(1 . 2))
=> nil
Source Code
// Defined in /usr/src/emacs/src/data.c
{
if (CONSP (object) || NILP (object))
return Qnil;
return Qt;
}