cljs.spec/conform

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

Source docstring:
Given a spec and a value, returns :clojure.spec/invalid if value does not match spec,
else the (possibly destructured) value.
Source code @ clojurescript:src/main/cljs/cljs/spec.cljs
(defn conform
  [spec x]
  (conform* (specize spec) x))