mergeObjects()
Concatenates two arrays and removes duplicate objects (deep equality check).
Kind: global function
Returns: Array.<Object> - A new array with all unique objects from both inputs.
| Param | Type | Default | Description |
|---|---|---|---|
| [objects] | Array.<Object> | [] | The first array. |
| [otherObjects] | Array.<Object> | [] | The second array to merge in. |
Example
const merged = ARM.mergeObjects(localAddresses, serverAddresses)Last updated on