Fast, efficient, and easy-to-use object extensions for TypeScript.
npm install @ariesclark/extensions
# Or directly, if you only need the object extension.
npm install @ariesclark/object
Parameters:
- value (
unknown
)
returns: boolean
A function that returns the value passed to it, unchanged.
Parameters:
- value (
T
)
returns: T
Parameters:
- object (
T
)
returns: (keyof T)[]
Parameters:
- object (
T
) - keys (
K[]
)
returns: Omit<T, K>
`{ assign, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwn, is, isExtensible, isFrozen, isSealed,
// keys, preventExtensions, seal, setPrototypeOf, values }` (variable)