Liking cljdoc? Tell your friends :D

strict.core


booleanclj/s

source

boolean-strclj/s

source

collclj/s

source

coll-ofclj/s

source

emailclj/s

source

everyclj/s

source

format-messageclj/s

(format-message msg opts args)
source

functionclj/s

source

identical-toclj/s

source

in-rangeclj/s

source

integerclj/s

source

integer-strclj/s

source

keywordclj/s

source

mapclj/s

source

max-countclj/s

source

memberclj/s

source

min-countclj/s

source

negativeclj/s

source

nestedclj/s

source

numberclj/s

source

number-strclj/s

source

positiveclj/s

source

requiredclj/s

source

setclj/s

source

stringclj/s

source

string-likeclj/s

source

uuidclj/s

source

uuid-strclj/s

source

valid-single?clj/s

(valid-single? data schema)

Analogous function to valid? that just validates single value.

Analogous function to `valid?` that just validates single value.
sourceraw docstring

valid?clj/s

(valid? data schema)

Return true if the data matches the schema, otherwise return false.

Return true if the data matches the schema, otherwise
return false.
sourceraw docstring

validateclj/s

(validate data schema)
(validate data schema {:keys [strip] :or {strip false} :as opts})

Validate data with specified schema.

This function by default strips all data that are not defined in schema, but this behavior can be changed by passing {:strip false} as third argument.

Validate data with specified schema.

This function by default strips all data that are not defined in
schema, but this behavior can be changed by passing `{:strip false}`
as third argument.
sourceraw docstring

validate!clj/s

(validate! data schema)
(validate! data
           schema
           {:keys [message] :or {message "Schema validation error"} :as opts})

Analogous function to the validate that instead of return the errors, just raise a ex-info exception with errors in case them are or just return the validated data.

This function accepts the same parameters as validate with an additional :message that serves for customize the exception message.

Analogous function to the `validate` that instead of return
the errors, just raise a ex-info exception with errors in case
them are or just return the validated data.

This function accepts the same parameters as `validate` with
an additional `:message` that serves for customize the exception
message.
sourceraw docstring

validate-singleclj/s

(validate-single data schema)
(validate-single data schema opts)

A helper that used just for validate one value.

A helper that used just for validate one value.
sourceraw docstring

validatorclj/s

(validator spec-map)
source

validator?clj/s

(validator? obj)
source

vectorclj/s

source

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

× close