Liking cljdoc? Tell your friends :D

schema-conformer.core

Be conservative in what you do, be liberal in what you accept from others.

Be conservative in what you do, be liberal in what you accept from others.
raw docstring

conformclj

(conform schema data)
(conform schema options data)

Conforms the given data to the given schema.

Conforms the given data to the given schema.
sourceraw docstring

conformerclj

(conformer schema)
(conformer schema options)

Creates a function that will conform data to the provided schema.

Creates a function that will conform data to the provided schema.
sourceraw docstring

conforms?clj

(conforms? schema data)
(conforms? schema options data)

Checks if the given data can conform to the given schema.

Checks if the given data can conform to the given schema.
sourceraw docstring

deep-mergeclj

(deep-merge & s)

Merges two schemas. If the schemas are 'constrained' then it combines the maps and applies both constraint conditions.

Merges two schemas. If the schemas are 'constrained' then
it combines the maps and applies both constraint conditions.
sourceraw docstring

defaultclj

(default schema default)

Wraps a schema with a Default record that will result in a particular value being 'plugged in' by the conformer when not provided by the data.

Wraps a schema with a Default record that will result
in a particular value being 'plugged in' by the conformer
when not provided by the data.
sourceraw docstring

matcherclj

(matcher schema)
(matcher schema options)

A schema matcher.

A schema matcher.
sourceraw docstring

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

× close