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

Method exactEquals

docs/app/js/sanddance-app.js:69292–69298  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

69290 return true;
69291 }
69292 exactEquals(array) {
69293 if (!array || this.length !== array.length) return false;
69294 for(let i = 0; i < this.ELEMENTS; ++i){
69295 if (this[i] !== array[i]) return false;
69296 }
69297 return true;
69298 }
69299 negate() {
69300 for(let i = 0; i < this.ELEMENTS; ++i)this[i] = -this[i];
69301 return this.check();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected