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

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

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

Type Parameters

T
K extends string

Parameters

propsToOmit: K[]
obj: T

Returns

Omit<T, K>

Type Parameters

K extends string

Parameters

propsToOmit: K[]

Returns

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

Parameters

propsToOmit: string
obj: T

Parameters

propsToOmit: string

Returns

(obj: T) => U

Parameters

propsToOmit: string
obj: object

Parameters

propsToOmit: string

Returns

(obj: object) => T