Function: hash-key-p
hash-key-p is a byte-compiled function defined in hasht.el.
Signature
(hash-key-p KEY HASH-TABLE)
Documentation
Return non-nil iff KEY, a string, is in HASH-TABLE.
KEY's hash table symbol is returned. Do nothing and return nil if KEY or HASH-TABLE are of the wrong type.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hasht.el
(defun hash-key-p (key hash-table)
"Return non-nil iff KEY, a string, is in HASH-TABLE.
KEY's hash table symbol is returned. Do nothing and return nil
if KEY or HASH-TABLE are of the wrong type."
(when (and (hash-table-p hash-table)
(stringp key))
(let ((key-sym (intern-soft key)))
(when (gethash key-sym hash-table)
key-sym))))