Open bharat-dussa opened 1 month ago
omit
Creates an object composed of the own and inherited enumerable properties of object that are not omitted.
object
File: src/utils/function/omit/omit.ts Test File: src/utils/function/omit/omit.test.ts
src/utils/function/omit/omit.ts
src/utils/function/omit/omit.test.ts
Parameters:
obj: object
keys: string[]
Returns:
Example:
omit({ a: 1, b: 2, c: 3 }, ['b']); // { a: 1, c: 3 }
@bharat-dussa I'd like to help with this issue. Could you please assign it to me?
I'd like to contribute on this issue. Please assign me
I like to contribute on this issue. Please assign me
omit
Creates an object composed of the own and inherited enumerable properties of
object
that are not omitted.File:
src/utils/function/omit/omit.ts
Test File:src/utils/function/omit/omit.test.ts
Parameters:
obj: object
: The source object.keys: string[]
: The properties to omit.Returns:
object
: The new object.Example: