Validate the data against the schema.
Proxy to malli.
Validate the data against the schema. Proxy to [malli](https://github.com/metosin/malli).
(add-default-values schema data)
Returns data
augmented with the default values, as defined in the schema
.
Returns `data` augmented with the default values, as defined in the `schema`.
(humanize schema data)
Returns a vector of string of humanized messages for data
compliance to schema
.
Returns nil
if no error is found.
Returns a vector of string of humanized messages for `data` compliance to `schema`. Returns `nil` if no error is found.
(valid? schema data)
Returns true
if data
is matching the schema
.
Returns `true` if `data` is matching the `schema`.
(validate-with-defaults schema data)
Returns true
if data
is compliant to the schema
, knowing its defaults.
Returns `true` if `data` is compliant to the `schema`, knowing its defaults.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close