conform

added

ns
clojure.spec

type
function

(conform spec x)

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