Skip to content

@vtj


@vtj / node / pick

Function: pick()

pick<T, K>(target, keys): K

对象提取属性

Type Parameters

T extends Record<string, any>

K extends Record<string, any>

Parameters

target

T

keys

string[] | (k, v) => boolean

Returns

K

Defined in

packages/base/types/data.d.ts:64

Released under the MIT License.