Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>O.Filter

👷 TypeScript's largest type utility library, now on Deno
Latest
type alias O.Filter
import { type O } from "https://deno.land/x/ts_toolbelt_unofficial@1.1.0/mod.ts";
const { Filter } = O;

Filter out of O the fields that match M

Examples

Example 1

Type Parameters

O extends object
M extends any
optional
match extends Match = "default"
definition: Pick<O, FilterKeys<O, M, match>>