cljs.spec.alpha/regex?

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

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