Returns an array of identical keys with different values across two objects
objDiff({ foo: 1, bar: 2 }, { foo: true, bar: 2 });=> ['foo']objDiff({ foo: 1, bar: 2 }, { foo: 1, bar: 2 });=> false
First object
Second object
Generated using TypeDoc
Returns an array of identical keys with different values across two objects
Example