Module

x/rambda/immutable.d.ts>mergeWith

Faster and smaller alternative to Ramda
Latest
function mergeWith
import { mergeWith } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.ts";

It takes two objects and a function, which will be used when there is an overlap between the keys.

Parameters

fn: (x: any, z: any) => any
a: Record<string, unknown>
b: Record<string, unknown>

Returns

Record<string, unknown>

Parameters

fn: (x: any, z: any) => any
a: Record<string, unknown>
b: Record<string, unknown>

Parameters

fn: (x: any, z: any) => any
a: Record<string, unknown>

Returns

(b: Record<string, unknown>) => Record<string, unknown>

Parameters

fn: (x: any, z: any) => any
a: Record<string, unknown>

Returns

(b: Record<string, unknown>) => Output

Parameters

fn: (x: any, z: any) => any

Returns

<U, V>(a: U, b: V) => Record<string, unknown>

Parameters

fn: (x: any, z: any) => any

Returns

<U, V>(a: U, b: V) => Output