(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 instance schema)
(validate instance schema options)
Instance should come first do support the Clojure thread-first macro. Instances are the objects here, schemas are the incidentals.
Instance should come first do support the Clojure thread-first macro. Instances are the objects here, schemas are the incidentals.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close