Objects
import { deepClone, deepMerge, isPlainObject } from '@rtorcato/js-common/objects'
Exports
| Name | Summary |
|---|---|
deepClone | Deep clones a value using the native structuredClone algorithm. |
deepMerge | Deeply merges two objects. |
isPlainObject | Returns true if the value is a plain object (not null, not array, not function). |
omit | Returns a shallow copy of an object with the given keys omitted. |
pick | Returns a shallow copy of an object with only the given keys. |