Skip to content

@vtj


@vtj / node / omit

Function: omit()

omit<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:57

Released under the MIT License.