Function: ht-get*

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

Signature

(ht-get* TABLE &rest KEYS)

Documentation

Look up KEYS in nested hash tables, starting with TABLE.

The lookup for each key should return another hash table, except for the final key, which may return any value.

Source Code

;; Defined in ~/.emacs.d/elpa/ht-20230703.558/ht.el
(define-inline ht-get* (table &rest keys)
  "Look up KEYS in nested hash tables, starting with TABLE.
The lookup for each key should return another hash table, except
for the final key, which may return any value."
  (declare (side-effect-free t))
  (inline-letevals (table keys)
    (inline-quote
     (progn
       (while ,keys
         (setf ,table (ht-get ,table (pop ,keys))))
       ,table))))