Function: dash--member-fn
dash--member-fn is a byte-compiled function defined in dash.el.
Signature
(dash--member-fn)
Documentation
Return the flavor of member that goes best with -compare-fn.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun dash--member-fn ()
"Return the flavor of `member' that goes best with `-compare-fn'."
(declare (side-effect-free error-free))
(let ((cmp -compare-fn))
(cond ((memq cmp '(nil equal)) #'member)
((eq cmp #'eq) #'memq)
((eq cmp #'eql) #'memql)
((lambda (elt list)
(while (and list (not (funcall cmp elt (car list))))
(pop list))
list)))))