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

x/fae/assocPath.ts

A functional module for Deno inspired from Ramda.
Latest
import * as fae from "https://deno.land/x/fae@v1.1.1/assocPath.ts";

Variables

Makes a shallow clone of an object, setting or overriding the nodes required to create the given path, and placing the specific value at the tail end of that path. Note that this copies and flattens prototype properties onto the new object as well. All non-primitive properties are copied by reference.