isNotEqualDeep (source code)
- Alias: notEqualsDeep
- Curried: false
- Failsafe status: failsafe by default
The isNotEqualDeep
function returns true
if the given values are not equal,
considering deep equality. It checks for deep inequality between objects or
arrays.
- The two values to be checked for equality. It can also include deeply nested objects.
const object1 = {
a: 1,
b: { c: 3 },
};
const object2 = {
a: 1,
b: { c: 2 },
};
isNotEqualsDeep(object1, object2); //returns true
notEqualsDeep(object1, object2); //returns true