Skip to main content
Module

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

👷 TypeScript's largest type utility library, now on Deno
Latest
type alias O.P.Pick
import { type O } from "https://deno.land/x/ts_toolbelt_unofficial@1.1.0/mod.ts";
const { Pick } = O.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