Function: set:member
set:member is a byte-compiled function defined in set.el.
Signature
(set:member ELT SET)
Documentation
Return non-nil if ELT is an element of SET.
The value is actually the tail of SET whose car is ELT. Uses set:equal-op for comparison.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/set.el
(defun set:member (elt set)
"Return non-nil if ELT is an element of SET.
The value is actually the tail of SET whose car is ELT.
Uses `set:equal-op' for comparison."
(pcase set:equal-op
('equal (member elt set))
('eq (memq elt set))
('eql (memql elt set))
(_ (while (and set (not (funcall set:equal-op elt (car set))))
(setq set (cdr set)))
set)))