Inline asserts and helpers
Inline asserts and helpers
(defns fname & decls)will add examples in the form of :example and :test to the metadata
will add examples in the form of :example and :test to the metadata
(defns- name & decls)same as defn, yielding non-public def
same as defn, yielding non-public def
(make-example-form & input)Will turn input forms into strings for documentation
Will turn input forms into strings for documentation
(make-test-form & input)Will turn user friendly description into an assert/test form
Will turn user friendly description into an assert/test form
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |