Skip to content

pick

pick<T>(source, keys): Partial<T>

Type Parameters

T extends Record<string, any>

Parameters

source: T

Source object

keys: keyof T[] = []

Returns

Partial<T>

object populated with the picked keys

Defined in

src/util/misc/pick.ts:7