(assoc-if m k v)
(assoc-if m k v & kvs)
Assoc[iate] only truthy values.
Assoc[iate] only truthy values.
(assoc-some m k v)
(assoc-some m k v & kvs)
Assoc[iate] if the value is not nil.
Assoc[iate] if the value is not nil.
(deep-merge values)
(deep-merge strategy & values)
(deep-merge & values)
Recursively merges maps. If the first parameter is a keyword it tells the strategy to use when merging non-map collections. Options are
Recursively merges maps. If the first parameter is a keyword it tells the strategy to use when merging non-map collections. Options are - :replace, the default, the last value is used - :into, if the value in every map is a collection they are concatenated using into. Thus the type of (first) value is maintained.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close