Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>Tuple.Pick

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

Extract out of L the entries of key K

Examples

Example 1

Type Parameters

L extends List
K extends Key
definition: L extends unknown ? _Pick<L, K> : never