Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const contains = function (a, b) {
for (var key in b) {
if (b.hasOwnProperty(key)) {
if (!deepEqual(a[key], b[key])) {
return false;
}
}
}
return true;
};