Liking cljdoc? Tell your friends :D
Clojure only.

examine.macros

Macros for convenient validator creation

Macros for convenient validator creation
raw docstring

defvalidatorcljmacro

(defvalidator sym & specs)

Yields a defn for a one-argument validator function. The validator function returns a localized messages map, using the default localizer. The data is accessed by the map-data-provider. An empty map represents valid data.

Yields a defn for a one-argument validator function.
The validator function returns a localized messages map,
using the default localizer. The data is accessed by
the map-data-provider.
An empty map represents valid data.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close