Skip to main content
Module

x/rambda/rambda.js>mergeRight

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