Module

x/rambda/index.d.ts>mergeRight

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

It creates a copy of target object with overwritten newProps properties. Previously known as R.merge but renamed after Ramda did the same.

Parameters

target: A
newProps: B

Parameters

target: any

Returns

(newProps: any) => Output