Use validator
, json-validator
, or json-reader-validator
to
construct a validator function.
The first argument for the validator function is the data. The optional second argument is an options map with the following keys:
key | default | description |
---|---|---|
:deep-check | false | Check nested elements even if the parent elements are invalid. |
Use [[validator]], [[json-validator]], or [[json-reader-validator]] to construct a validator function. ### Validator functions The first argument for the validator function is the data. The optional second argument is an options map with the following keys: | key | default | description | |---------------|----------|-------------| | `:deep-check` | `false` | Check nested elements even if the parent elements are invalid.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close