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

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

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

Type Parameters

K extends PropertyKey

Returns

<U extends [P in K]?: any>(obj: string extends keyof U ? U : undefined extends U[K] ? U : never) => U

Type Parameters

U
K extends keyof U

Parameters

prop: string extends keyof U ? K : undefined extends U[K] ? K : never
obj: U