Liking cljdoc? Tell your friends :D

c3kit.apron.schema.validations

Standard validation lexes. Each lex is its own var for à-la-carte use; default-validations bundles them as a {name → lex} map that c3kit.apron.schema merges into the default lexicon at its load. This namespace is pure data — it does not require c3kit.apron.schema.

Standard validation lexes. Each lex is its own var for à-la-carte use;
default-validations bundles them as a {name → lex} map that
c3kit.apron.schema merges into the default lexicon at its load.
This namespace is pure data — it does not require c3kit.apron.schema.
raw docstring

<clj/s

(< n)

<=clj/s

(<= n)

=clj/s

(= x)

>clj/s

(> n)

>=clj/s

(>= n)

betweenclj/s

(between lo hi)

bigdec?clj/s


boolean?clj/s


date?clj/s


default-validationsclj/s


email?clj/s


float?clj/s


ifn?clj/s


instant?clj/s


integer?clj/s


keyword?clj/s


lengthclj/s

(length n)

map?clj/s


matchesclj/s

(matches re)

max-lengthclj/s

(max-length n)

min-lengthclj/s

(min-length n)

multiple?clj/s


nat-int?clj/s


neg-int?clj/s


neg?clj/s


not-one-ofclj/s

(not-one-of & xs)

not=clj/s

(not= x)

number?clj/s


one-ofclj/s

(one-of & xs)

pos-int?clj/s


pos?clj/s


present?clj/s


requiredclj/s


string?clj/s


timestamp?clj/s


uri?clj/s


uuid?clj/s


zero?clj/s

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