Module

x/rambda/immutable.d.ts>set

Faster and smaller alternative to Ramda
Latest
function set
import { set } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.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; }