Liking cljdoc? Tell your friends :D

active.data.struct.validator


conditionallyclj/s

(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.
sourceraw docstring

field-assertionsclj/s

(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.
sourceraw docstring

field-validatorsclj/s

(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.
sourceraw docstring

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

× close