cljs.spec.alpha/conform

functionpreviously cljs.spec/conform clojure.spec.alpha/conformEdit
(conform spec x)

Source docstring:
Given a spec and a value, returns :cljs.spec.alpha/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))