(deref-at-key x k)(deref-at-key x k & ks)Takes a value x and one or more keys/indexes. If x is a map or vector containing the key/index and the value at that position is dereferenceable (atom, delay, etc.), returns a map/vector with the dereferenced value. Processes all provided keys. Otherwise returns x unchanged.
Takes a value x and one or more keys/indexes. If x is a map or vector containing the key/index and the value at that position is dereferenceable (atom, delay, etc.), returns a map/vector with the dereferenced value. Processes all provided keys. Otherwise returns x unchanged.
(invert-map->multimap m)(m= m)(m= m1 m2)(m= m1 m2 & more)(mcount m)(mempty? m)(mmerge)(mmerge m)(mmerge m1 m2)(mmerge m1 m2 & maps)(mmerge-2 m1 m2)(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 |