(deep-merge & vals)Recursively merge maps. At each level, if there are any non-map vals, the last value (of any type) is used.
Recursively merge maps. At each level, if there are any non-map vals, the last value (of any type) is used.
(some-chain x fs)Successively applies functions fs from left to right (as
with (apply comp (reverse fs))), halting the chain and returning
nil if any function returns nil.
Successively applies functions `fs` from left to right (as with `(apply comp (reverse fs))`), halting the chain and returning nil if any function returns nil.
(update-contained-in m ks f)Like update-in but f is only applied if map entry
exists. Intermediate keys are never created.
Like `update-in` but `f` is only applied if map entry exists. Intermediate keys are never created.
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 |