Skip to main content
Module

x/ramda/mod.ts>modify

:ram: Practical functional Javascript
Latest
variable modify
import { modify } from "https://deno.land/x/ramda@v0.27.2/mod.ts";

Creates a copy of the passed object by applying an fn function to the given prop property.

The function will not be invoked, and the object will not change if its corresponding property does not exist in the object. All non-primitive properties are copied to the new object by reference.