Module

x/rambda/index.d.ts>dissoc

Faster and smaller alternative to Ramda
Go to Latest
function dissoc
import { dissoc } from "https://dotland.deno.dev/x/rambda@v9.2.0/index.d.ts";

It returns a new object that does not contain property prop.

Type Parameters

T extends object
K extends keyof T

Parameters

prop: K
obj: T

Returns

Omit<T, K>

Type Parameters

K extends string | number

Returns

<T extends object>(obj: T) => Omit<T, K>