Liking cljdoc? Tell your friends :D
Clojure only.

restql.core.util.deep-merge


deep-mergeclj

(deep-merge v & vs)

{:a {:b :replace-me :c 2}} {:a {:b 1}} -> {:a {:b 1, :c 2}} {:a {:b :replace-me :d 3}} {:a [{:b 1}{:b 2}]} -> {:a [{:b 1, :d 3} {:b 2, :d 3}]}

{:a {:b :replace-me :c 2}} {:a {:b 1}} -> {:a {:b 1, :c 2}}
{:a {:b :replace-me :d 3}} {:a [{:b 1}{:b 2}]} -> {:a [{:b 1, :d 3} {:b 2, :d 3}]}
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close