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

x/rambda/mod.ts>mergeRight

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