Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Deeply merge two or more objects using the given options.

Parameters

  • The options on how to customize the merge function.

Returns

<Target extends object, Ts extends ReadonlyArray<unknown>>(target: Target, ...objects: Ts) => void

Deeply merge two or more objects using the given options and meta data.

Parameters

  • The options on how to customize the merge function.
optional
rootMetaData: MetaData
  • The meta data passed to the root items' being merged.

Returns

<Target extends object, Ts extends ReadonlyArray<unknown>>(target: Target, ...objects: Ts) => void