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

x/rambda/rambda.js>mergeRight

Faster and smaller alternative to Ramda
Latest
function mergeRight
import { mergeRight } from "https://deno.land/x/rambda@9.3.0/rambda.js";

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