Skip to main content
Module

x/froebel/mod.ts>merge

A strictly typed utility library.
Go to Latest
variable merge
import { merge } from "https://deno.land/x/froebel@v0.23.0/mod.ts";

Recursively merges A and B. If a property in A and B is of a different type (i.e. it's not an array, Set, Map, or plain object in both, the value from B will be used in the result).

If there are self-references in the cloned values, array / Set items, or Map keys or values, they will also be self-referencing in the result.