Liking cljdoc? Tell your friends :D

automaton-core.adapters.schema

Validate the data against the schema.

Is a proxy for malli

Validate the data against the schema.

Is a proxy for malli
raw docstring

validateclj/s

(validate schema)

Test the schema parameter is valid

Params:

  • schema schema to test
Test the schema parameter is valid

Params:
* `schema` schema to test
raw docstring

validate-dataclj/s

(validate-data schema data)

Return true if the data is matching the schema Params:

  • schema schema to match
  • data data to check appliance to schema
Return true if the data is matching the schema
Params:
* `schema` schema to match
* `data` data to check appliance to schema
raw docstring

validate-data-humanizeclj/s

(validate-data-humanize schema data)

Returns nil if valid, the error message otherwise.

Params:

  • schema schema to match
  • data data to check appliance to schema
Returns nil if valid, the error message otherwise.

Params:
* `schema` schema to match
* `data` data to check appliance to schema
raw docstring

validate-humanizeclj/s

(validate-humanize schema)

Test the schema parameter is valid Returns a humanize message about the error Returns nil if valid

Params:

  • schema schema to test
Test the schema parameter is valid
Returns a humanize message about the error
Returns nil if valid

Params:
* `schema` schema to test
raw docstring

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

× close