(conditionally validator condition)
Returns a validator that passes validation on to the given validator, if (condition)
is true, and does nothing otherwise.
Returns a validator that passes validation on to the given validator, if `(condition)` is true, and does nothing otherwise.
(field-assertions keys-predicates-map)
Returns a map validator that asserts that the given predicates hold for the given keys.
Returns a map validator that asserts that the given predicates hold for the given keys.
(field-validators keys-fns-map)
Returns a map validator that checks some of the fields individually.
Returns a map validator that checks some of the fields individually.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close