Function: dash--hash-test-fn
dash--hash-test-fn is a byte-compiled function defined in dash.el.
Signature
(dash--hash-test-fn)
Documentation
Return the hash table test function corresponding to -compare-fn.
Return nil if -compare-fn is not a known test function.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun dash--hash-test-fn ()
"Return the hash table test function corresponding to `-compare-fn'.
Return nil if `-compare-fn' is not a known test function."
(declare (side-effect-free error-free))
;; In theory this could also recognize values that are custom
;; `hash-table-test's, but too often the :test name is different
;; from the equality function, so it doesn't seem worthwhile.
(car (memq (or -compare-fn #'equal) '(equal eq eql))))