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

Method validate

docs/tests/v3/es6/js/sanddance-test-es6.js:17275–17279  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17273 return this;
17274 }
17275 validate() {
17276 let valid = this.length === this.ELEMENTS;
17277 for(let i = 0; i < this.ELEMENTS; ++i)valid = valid && Number.isFinite(this[i]);
17278 return valid;
17279 }
17280 sub(a) {
17281 return this.subtract(a);
17282 }

Callers 1

checkMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected