Module

x/rambda/index.d.ts>mergeRight

Faster and smaller alternative to Ramda
Go to Latest
function mergeRight
import { mergeRight } from "https://dotland.deno.dev/x/rambda@v9.2.0/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