import { omit } from "https://deno.land/x/fun@v2.0.0/record.ts";
Omit specified keys
from a record
. Value-space implementation of the
Omit
utility type.
Examples
Example 1
Example 1
import { omit } from "./record.ts";
omit("a", "c")({ a: 1, b: 2 }) // { b: 2 }
Parameters
...keys: K