Function: cider-inspect

cider-inspect is an autoloaded, interactive and byte-compiled function defined in cider-inspector.el.

Signature

(cider-inspect &optional ARG)

Documentation

Inspect the result of the preceding sexp.

With a prefix argument ARG it inspects the result of the "top-level" form. With a second prefix argument it prompts for an expression to eval and inspect.

Each of those is also a command of its own - cider-inspect-last-sexp, cider-inspect-defun-at-point and cider-inspect-expr - and cider-inspect-menu lists them all, along with cider-inspect-sexp-at-point, which this command has no prefix for.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260920.725/cider-inspector.el
;;;###autoload
(defun cider-inspect (&optional arg)
  "Inspect the result of the preceding sexp.

With a prefix argument ARG it inspects the result of the \"top-level\" form.
With a second prefix argument it prompts for an expression to eval and inspect.

Each of those is also a command of its own - `cider-inspect-last-sexp',
`cider-inspect-defun-at-point' and `cider-inspect-expr' - and
`cider-inspect-menu' lists them all, along with
`cider-inspect-sexp-at-point', which this command has no prefix for."
  (interactive "p")
  (pcase arg
    (1 (cider-inspect-last-sexp))
    (4 (cider-inspect-defun-at-point))
    (16 (call-interactively #'cider-inspect-expr))))