cljs.spec.alpha/conform

functionpreviously cljs.spec/conformEdit
(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/alpha.cljs
(defn conform
  [spec x]
  (conform* (specize spec) x))