Function: cider-eldoc-thing-type

cider-eldoc-thing-type is a byte-compiled function defined in cider-eldoc.el.

Signature

(cider-eldoc-thing-type ELDOC-INFO)

Documentation

Return the type of the ELDOC-INFO being displayed by eldoc.

It can be a function or var now.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eldoc.el
(defun cider-eldoc-thing-type (eldoc-info)
  "Return the type of the ELDOC-INFO being displayed by eldoc.
It can be a function or var now."
  (or (pcase (cider-plist-get eldoc-info "type")
        ("function" 'fn)
        ("special-form" 'special-form)
        ("macro" 'macro)
        ("method" 'method)
        ("variable" 'var))
      'fn))