MCPcopy Index your code
hub / github.com/microsoft/SandDance / validate

Method validate

docs/app/js/sanddance-app.js:69344–69348  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69342 return this;
69343 }
69344 validate() {
69345 let valid = this.length === this.ELEMENTS;
69346 for(let i = 0; i < this.ELEMENTS; ++i)valid = valid && Number.isFinite(this[i]);
69347 return valid;
69348 }
69349 sub(a) {
69350 return this.subtract(a);
69351 }

Callers 1

checkMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected