(invert-map->multimap m)
(submap? m1 m2)
Returns true if m2 is a submap of m1, false otherwise. A map is considered a submap if all of its key-value pairs exist in the other map. It also works for vectors, treating them as maps with non-negative integral keys.
Returns true if m2 is a submap of m1, false otherwise. A map is considered a submap if all of its key-value pairs exist in the other map. It also works for vectors, treating them as maps with non-negative integral keys.
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 |