Skip to content

@vtj


@vtj / base / 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/src/data.ts:116

Released under the MIT License.