Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

omit

import { omit } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/record.ts";

Omit specified keys from a record. Value-space implementation of the Omit utility type.

@example
import { omit } from "./record.ts";
omit("a", "c")({ a: 1, b: 2 }) // { b: 2 }
function omit<T, K extends string[]>(...keys: K): (record: T) => Omit<T, K[number]>;
§
omit<T, K extends string[]>(...keys: K): (record: T) => Omit<T, K[number]>
[src]

§Type Parameters

§
K extends string[]
[src]

§Parameters

§
...keys: K optional
[src]

§Return Type

§
(record: T) => Omit<T, K[number]>
[src]