(char-seq str)(char-seq str offset)Return a seq of the characters in a string, making sure not to split up UCS-2 (or is it UTF-16?) surrogate pairs. Because JavaScript. And Java.
Return a seq of the characters in a string, making sure not to split up UCS-2 (or is it UTF-16?) surrogate pairs. Because JavaScript. And Java.
Allow for additional vocabularies by making this extensible.
'Validation keywords typically operate independently, without affecting each other's outcomes.' -- 3.1.1
However, given there are some exceptions, the full schema object is also provided as a map.
The instance and annotations args are the latest version of the instance currently established, not (necessarily) the original data value.
A method can update the values of the instance and annotations by returning a map optionally containing :instance and :annotations correspondingly.
Allow for additional vocabularies by making this extensible. 'Validation keywords typically operate independently, without affecting each other's outcomes.' -- 3.1.1 However, given there are some exceptions, the full schema object is also provided as a map. The instance and annotations args are the latest version of the instance currently established, not (necessarily) the original data value. A method can update the values of the instance and annotations by returning a map optionally containing :instance and :annotations correspondingly.
(some-some? pred coll)We need a version of some that treats false as a value
We need a version of some that treats false as a value
(validate schema instance)(validate schema instance options)Options can contain an optional :base-document which will be used when resolving $ref references, otherwise the schema document is used as the base document. Resolvers can be overridden by specifying :resolvers in the options.
Options can contain an optional :base-document which will be used when resolving $ref references, otherwise the schema document is used as the base document. Resolvers can be overridden by specifying :resolvers in the options.
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 |