cljs.spec/valid?

MOVED, please see cljs.spec.alpha/valid?
functionremoved v1.9.542added v1.9.14Edit
(valid? spec x)
(valid? spec x form)

Source docstring:
Helper function that returns true when x is valid for spec.
Source code @ clojurescript:src/main/cljs/cljs/spec.cljs
(defn valid?
  ([spec x]
   (let [spec (specize spec)]
     (not (invalid? (conform* spec x)))))
  ([spec x form]
   (let [spec (specize spec form)]
     (not (invalid? (conform* spec x))))))