Function: rx--every

rx--every is a byte-compiled function defined in rx.el.gz.

Signature

(rx--every PRED LIST)

Documentation

Whether PRED is true for every element of LIST.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/rx.el.gz
;; `cl-every' replacement to avoid bootstrapping problems.
(defun rx--every (pred list)
  "Whether PRED is true for every element of LIST."
  (while (and list (funcall pred (car list)))
    (setq list (cdr list)))
  (null list))