Function: nrepl-dict-contains

nrepl-dict-contains is a byte-compiled function defined in nrepl-dict.el.

Signature

(nrepl-dict-contains DICT KEY)

Documentation

Return nil if nREPL dict DICT doesn't contain KEY.

If DICT does contain KEY, then a non-nil value is returned. Due to the current implementation, this return value is the tail of DICT's key-list whose car is KEY. Comparison is done with equal.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/nrepl-dict.el
(defun nrepl-dict-contains (dict key)
  "Return nil if nREPL dict DICT doesn't contain KEY.
If DICT does contain KEY, then a non-nil value is returned.  Due to the
current implementation, this return value is the tail of DICT's key-list
whose car is KEY.  Comparison is done with `equal'."
  (member key (nrepl-dict-keys dict)))