A javascript library for working with objects
Deeply compares two items.
Param | Type |
---|---|
item1 | * |
item2 | * |
Example
import { deepEqual } from 'object-agent';
deepEqual(null, undefined);
// => false
const item1 = {
a: ['b']
}
const item2 = {
a: ['c']
}
deepEqual(item1, item2);
// => false