Function: set:get

set:get is a byte-compiled function defined in set.el.

Signature

(set:get KEY SET)

Documentation

Return the value associated with KEY in SET or nil.

Assume elements of SET are of the form (key . value).

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/set.el
(defun set:get (key set)
  "Return the value associated with KEY in SET or nil.
Assume elements of SET are of the form (key . value)."
  (cdr (car (let ((set:equal-op (lambda (key elt) (equal key (car elt)))))
	      (set:member key set)))))