(->schema-at-loc leaf-node loc)
Get the schema for a node, with location awareness
Get the schema for a node, with location awareness
(dedup-map-type map-type)
MapType maintains a list of MapEntryTypes. Since this is a list and not a map, there is no duplicate key resolution. This fn takes a MapType and returns a new MapType with duplicates removed (based on key schema matching).
MapType maintains a list of MapEntryTypes. Since this is a list and not a map, there is no duplicate key resolution. This fn takes a MapType and returns a new MapType with duplicates removed (based on key schema matching).
(sort-map-type map-type)
Sort the entries in a MapType by key schema (compared as a string). The MapType should already be deduped (as by dedup-map-type) as this fn does not use the schema-tools assoc.
Sort the entries in a MapType by key schema (compared as a string). The MapType should already be deduped (as by dedup-map-type) as this fn does not use the schema-tools assoc.
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 |