Skip to main content

defn

macrov1.7

cljs.core/defn

Available in:BBCLJCLJS
Same as (def name (core/fn [params* ] exprs*)) or (def name (core/fn ([params* ] exprs*)+)) with any doc-string or attrs added to the var metadata. prepost-map defines a map with optional keys :pre and :post that contain collections of pre or post conditions.

No examples yet. Be the first to add one!