omit (Functional Programming) es-toolkit
Creates a function that removes the given keys from an object. Use it with pipe.
Info
Usage
omit returns a new object with the specified keys removed from the input object.
Parameters
keysreadonly K[]required
The keys to exclude from the new object.
Returns
A function that maps an object T to a new object without the omitted keys.
Source: es-toolkit
Re-exported verbatim from es-toolkit. Implementation, edge cases, and performance behavior are owned upstream. This page mirrors the documentation at the pinned version; the linked source is authoritative.