Function: comp-cstr-symbol-p

comp-cstr-symbol-p is a byte-compiled function defined in comp-cstr.el.gz.

Signature

(comp-cstr-symbol-p CSTR)

Documentation

Return t if CSTR is certainly a symbol.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp-cstr.el.gz
(defun comp-cstr-symbol-p (cstr)
  "Return t if CSTR is certainly a symbol."
  (with-comp-cstr-accessors
    (and (null (range cstr))
         (null (neg cstr))
         (or (and (null (valset cstr))
                  (equal (typeset cstr) '(symbol)))
             (and (or (null (typeset cstr))
                      (equal (typeset cstr) '(symbol)))
                  (cl-every #'symbolp (valset cstr)))))))