Function: hash-delete
hash-delete is a byte-compiled function defined in hasht.el.
Signature
(hash-delete KEY HASH-TABLE)
Documentation
Delete element referenced by KEY, a string, from HASH-TABLE.
Do nothing and return nil if KEY or HASH-TABLE are of the wrong type. Otherwise, Return nil if KEY is not in HASH-TABLE or t otherwise.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hasht.el
(defun hash-delete (key hash-table)
"Delete element referenced by KEY, a string, from HASH-TABLE.
Do nothing and return nil if KEY or HASH-TABLE are of the wrong type.
Otherwise, Return nil if KEY is not in HASH-TABLE or t otherwise."
(when (and (hash-table-p hash-table)
(stringp key))
(let ((key-sym (intern-soft key)))
(when (gethash key-sym hash-table)
(remhash key-sym hash-table)
t))))