Skip to main content

def

macrov1.9

cljs.spec.alpha/def

(def [k spec-form])
Given a namespace-qualified keyword or resolveable symbol k, and a spec, spec-name, predicate or regex-op makes an entry in the registry mapping k to the spec. Use nil to remove an entry in the registry for k.

No examples yet. Be the first to add one!