Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>Object.P.Pick

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

Extract out of O the fields at Path

Examples

Example 1

Type Parameters

O extends object
Path extends List<Key>
definition: Path extends unknown ? PickAt<O, Path> : never