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
Latest
function modifyPath
import { modifyPath } from "https://deno.land/x/rambda@9.4.1/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