(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 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 |