cljs.spec.alpha/regex?

functionpreviously cljs.spec/regex?Edit
(regex? x)

Source docstring:
returns x if x is a (clojure.spec) regex op, else logical false
Source code @ clojurescript:src/main/cljs/cljs/spec/alpha.cljs
(defn regex?
  [x]
  (c/and (::op x) x))