Function: ht-contains?

ht-contains? is a byte-compiled function defined in ht.el.

Signature

(ht-contains\? TABLE KEY)

Documentation

Return 't if TABLE contains KEY.

Aliases

ht-contains-p

Source Code

;; Defined in ~/.emacs.d/elpa/ht-20230703.558/ht.el
(define-inline ht-contains? (table key)
  "Return \\='t if TABLE contains KEY."
  (declare (side-effect-free t))
  (inline-quote
   (let ((not-found-symbol (make-symbol "ht--not-found")))
     (not (eq (ht-get ,table ,key not-found-symbol) not-found-symbol)))))