Function: cl-endp
cl-endp is an autoloaded and byte-compiled function defined in
cl-seq.el.gz.
Signature
(cl-endp X)
Documentation
Return true if X is the empty list; false if it is a cons.
Signal an error if X is not a list.
Aliases
endp (obsolete since 27.1)
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-seq.el.gz
;;;###autoload
(defun cl-endp (x)
"Return true if X is the empty list; false if it is a cons.
Signal an error if X is not a list."
(cl-check-type x list)
(null x))