Module

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

Faster and smaller alternative to Ramda
Latest
function modifyPath
import { modifyPath } from "https://dotland.deno.dev/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