Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deepmergets/dist/deno/mod.ts>deepmergeInto

Deeply merge 2 or more objects respecting type information.
Go to Latest
function deepmergeInto
import { deepmergeInto } from "https://deno.land/x/deepmergets@v7.0.1/dist/deno/mod.ts";

Deeply merge objects into a target.

Type Parameters

T extends object

Parameters

target: T
  • This object will be mutated with the merge result.
...objects: ReadonlyArray<T>
  • The objects to merge into the target.

Deeply merge objects into a target.

Type Parameters

Target extends object
Ts extends ReadonlyArray<unknown>

Parameters

target: Target
  • This object will be mutated with the merge result.
...objects: Ts
  • The objects to merge into the target.