Experimental support for 'completing' partial datums to match a schema.
Experimental support for 'completing' partial datums to match a schema.
(complete partial-datum & completer-args)Fill in partial-datum to make it validate schema.
Fill in partial-datum to make it validate schema.
(completer* spec s sub-checker generator-opts)A function applied to a datum as part of coercion to complete missing fields.
A function applied to a datum as part of coercion to complete missing fields.
(completer schema)(completer schema coercion-matcher)(completer schema coercion-matcher leaf-generators)(completer schema coercion-matcher leaf-generators wrappers)(completer G__4342)(completer G__4346 G__4347)(completer G__4351 G__4352 G__4353)(completer G__4357 G__4358 G__4359 G__4360)Inputs: ([schema] [schema coercion-matcher] [schema coercion-matcher leaf-generators] [schema coercion-matcher :- coerce/CoercionMatcher leaf-generators :- generators/LeafGenerators wrappers :- generators/GeneratorWrappers])
Produce a function that simultaneously coerces, completes, and validates a datum.
Inputs: ([schema] [schema coercion-matcher] [schema coercion-matcher leaf-generators] [schema coercion-matcher :- coerce/CoercionMatcher leaf-generators :- generators/LeafGenerators wrappers :- generators/GeneratorWrappers]) Produce a function that simultaneously coerces, completes, and validates a datum.
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 |