(assert schema data)Assert that data matches schema. Throws on failure else returns data.
Assert that data matches schema. Throws on failure else returns data.
(explain schema data)Returns human readable explanation if data was invalid
Returns human readable explanation if `data` was invalid
(valid? schema data)Returns true if data is valid per schema, false otherwise
Returns `true` if `data` is valid per `schema`, `false` otherwise
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |