Skip to main content
Module

x/rambda/mod.ts>set

Faster and smaller alternative to Ramda
Latest
function set
import { set } from "https://deno.land/x/rambda@v9.2.0/mod.ts";

It returns a copied Object or Array with modified lens focus set to replacer value.

Returns

{ (a: A): (obj: S) => S; (a: A, obj: S): S; }