MCPcopy Create free account
hub / github.com/microsoft/SandDance / equalObject

Function equalObject

docs/tests/v2/es6/js/sanddance.js:130445–130451  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

130443}
130444
130445function equalObject(a, b) {
130446 for (let key in a) {
130447 if (!equal(a[key], b[key])) return false;
130448 }
130449
130450 return true;
130451}
130452
130453function removePredicate(props) {
130454 return _ => equalObject(props, _);

Callers 2

equalFunction · 0.70
removePredicateFunction · 0.70

Calls 1

equalFunction · 0.70

Tested by

no test coverage detected