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 builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close