cljs.spec.alpha/spec?

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

Source docstring:
returns x if x is a spec object, else logical false
Source code @ clojurescript:src/main/cljs/cljs/spec/alpha.cljs
(defn spec?
  [x]
  (when (implements? Spec x)
    x))