Module: utils/objects
Functions
isObject
โธ isObject(item
): boolean
Simple object check.
Parameters
Name | Type |
---|---|
item | any |
Returns
boolean
Wether or not the item
is an object
Defined in
src/utils/objects.ts:7
mergeDeep
โธ mergeDeep(target
, ...sources
): any
Deep merge two objects. Circular reference will cause infinite recursion.
Parameters
Name | Type | Description |
---|---|---|
target | any | The object to merge ...sources into |
...sources | any [] | - |
Returns
any
Defined in
src/utils/objects.ts:17