Function: cl-list-length
cl-list-length is an autoloaded and byte-compiled function defined in
cl-extra.el.gz.
Signature
(cl-list-length X)
Documentation
Return the length of list X. Return nil if list is circular.
Aliases
list-length (obsolete since 27.1)
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-extra.el.gz
;;;###autoload
(defun cl-list-length (x)
"Return the length of list X. Return nil if list is circular."
(declare (side-effect-free t))
(cl-check-type x list)
(condition-case nil
(length x)
(circular-list)))