Skip to content

Function: objWithoutKeys()

objWithoutKeys(input, keys, output?): Record<PropertyKey, unknown>

Defined in: packages/core/src/obj/objWithoutKeys.ts:14

objWithoutKeys

Parameters

input

unknown

keys

string[]

property names to exclude

output?

Record<PropertyKey, unknown>

(optional) to delete unwanted props from the original input use it here. Default: a copy of the input object

Returns

Record<PropertyKey, unknown>