Function: which-key--any-match-p

which-key--any-match-p is a byte-compiled function defined in which-key.el.gz.

Signature

(which-key--any-match-p REGEXPS STRING)

Documentation

Non-nil if any of REGEXPS match STRING.

Source Code

;; Defined in /usr/src/emacs/lisp/which-key.el.gz
;;; Update

(defun which-key--any-match-p (regexps string)
  "Non-nil if any of REGEXPS match STRING."
  (catch 'match
    (dolist (regexp regexps)
      (when (string-match-p regexp string)
        (throw 'match t)))))