Function: cider--check-cljs
cider--check-cljs is a byte-compiled function defined in cider.el.
Signature
(cider--check-cljs &optional CLJS-TYPE NO-ERROR)
Documentation
Verify that all cljs requirements are met for CLJS-TYPE connection.
Return REPL-TYPE of requirement are met, and throw an ‘user-error’ otherwise. When NO-ERROR is non-nil, don't throw an error, issue a message and return nil.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider.el
(defun cider--check-cljs (&optional cljs-type no-error)
"Verify that all cljs requirements are met for CLJS-TYPE connection.
Return REPL-TYPE of requirement are met, and throw an ‘user-error’ otherwise.
When NO-ERROR is non-nil, don't throw an error, issue a message and return
nil."
(if no-error
(condition-case ex
(progn
(cider-verify-clojurescript-is-present)
(cider-verify-cljs-repl-requirements cljs-type))
(error
(message "Invalid ClojureScript dependency: %S" ex)
nil))
(cider-verify-clojurescript-is-present)
(cider-verify-cljs-repl-requirements cljs-type)))