Skip to main content

conform

functionv1.9

cljs.spec.alpha/conform

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

No examples yet. Be the first to add one!