omit
Updated on August 26, 2024Source code
createOmit
is a pipe that transforms an object to an object that omits certain keys from the original.
Create omit
Call createOmit
with these parameters to create your omit
function:
Parameter
Type
Required
Description
keys
string[]
Yes
The keys to omit from the object.