Function: ht-get

ht-get is a byte-compiled function defined in ht.el.

Signature

(ht-get TABLE KEY &optional DEFAULT)

Documentation

Look up KEY in TABLE, and return the matching value.

If KEY isn't present, return DEFAULT (nil if not specified).

Source Code

;; Defined in ~/.emacs.d/elpa/ht-20230703.558/ht.el
(define-inline ht-get (table key &optional default)
  "Look up KEY in TABLE, and return the matching value.
If KEY isn't present, return DEFAULT (nil if not specified)."
  (declare (side-effect-free t))
  (inline-quote
   (gethash ,key ,table ,default)))