(admit-schema schema)Validate and admit a value into Skeptic's schema domain. Returns the
schema-domain value in the shape expected by schema->type.
Validate and admit a value into Skeptic's schema domain. Returns the schema-domain value in the shape expected by `schema->type`.
(broad-dynamic-schema? schema)(import-schema-type prov schema)(import-schema-type prov schema source)Inputs: ([prov :- provs/Provenance schema :- s/Any] [prov :- provs/Provenance schema :- s/Any source :- s/Any]) Returns: ats/SemanticType
Input must be in the schema domain.
Inputs: ([prov :- provs/Provenance schema :- s/Any] [prov :- provs/Provenance schema :- s/Any source :- s/Any]) Returns: ats/SemanticType Input must be in the schema domain.
(primitive-ground-schema? schema)(primitive-ground-type prov schema)Inputs: [prov :- provs/Provenance schema :- s/Any] Returns: (s/maybe ats/SemanticType)
Inputs: [prov :- provs/Provenance schema :- s/Any] Returns: (s/maybe ats/SemanticType)
(schema->type prov schema)(schema->type prov schema descriptor)Inputs: ([prov :- provs/Provenance schema :- s/Any] [prov :- provs/Provenance schema :- s/Any descriptor :- s/Any]) Returns: ats/SemanticType
Input must be schema-domain (e.g. from admitted declarations).
Inputs: ([prov :- provs/Provenance schema :- s/Any] [prov :- provs/Provenance schema :- s/Any descriptor :- s/Any]) Returns: ats/SemanticType Input must be schema-domain (e.g. from admitted declarations).
(schema-domain? schema)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 |