Function: rx--all-string-branches-p

rx--all-string-branches-p is a byte-compiled function defined in rx.el.gz.

Signature

(rx--all-string-branches-p FORMS)

Documentation

Whether FORMS are all strings or or forms with the same property.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/rx.el.gz
(defun rx--all-string-branches-p (forms)
  "Whether FORMS are all strings or `or' forms with the same property."
  (all (lambda (x) (or (stringp x)
                       (and (eq (car-safe x) 'or)
                            (rx--all-string-branches-p (cdr x)))))
       forms))