Skip to main content

conform

functionv1.9

cljs.spec/conform

(conform [spec x])
Given a spec and a value, returns :clojure.spec/invalid if value does not match spec, else the (possibly destructured) value.

No examples yet. Be the first to add one!