Macros for convenient validator creation
Macros for convenient validator creation
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close