Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>Object.Select

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

Extract the fields of O that match M

Examples

Example 1

Type Parameters

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