(check schema data)checks that data fits the spec
checks that data fits the spec
(combine sketch more)combines spec schemas (usually maps)
combines spec schemas (usually maps)
(common-spec-invoke spec)(common-spec-invoke spec data)(common-spec-invoke spec data _)invokes the common spec
invokes the common spec
(common-spec-string spec)displays the common spec
displays the common spec
(defcase sym dispatch sketch & more)adds an additional case to the multispec
adds an additional case to the multispec
(defmultispec sym dispatch & pairs)macro for defining a multispec
macro for defining a multispec
(defspec sym sketch & more)macro for defining a spec
macro for defining a spec
(multi-gen-final dispatch options)generates the final schema for a multispec
generates the final schema for a multispec
(multi-spec-add spec dispatch-val schema)adds additional types to the multi spec
adds additional types to the multi spec
(multi-spec-invoke spec)(multi-spec-invoke spec data)(multi-spec-invoke spec data _)invokes the multi spec
invokes the multi spec
(multi-spec-remove spec dispatch-val)removes additional types from the multi spec
removes additional types from the multi spec
(multi-spec-string spec)displays the multi spec
displays the multi spec
(spec? x)checks that object is of type spec
checks that object is of type spec
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 |