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

x/rambda/files/index.d.ts>modifyPath

Faster and smaller alternative to Ramda
Go to Latest
function modifyPath
import { modifyPath } from "https://deno.land/x/rambda@v8.6.0/files/index.d.ts";

Type Parameters

T extends Record<string, unknown>

Parameters

path: Path
fn: (x: any) => unknown
object: Record<string, unknown>

Type Parameters

T extends Record<string, unknown>

Parameters

path: Path
fn: (x: any) => unknown

Returns

(object: Record<string, unknown>) => T

Type Parameters

T extends Record<string, unknown>

Parameters

path: Path

Returns

(fn: (x: any) => unknown) => (object: Record<string, unknown>) => T