MCPcopy
hub / github.com/microsoft/SandDance / setScalar

Method setScalar

docs/app/js/sanddance-app.js:69352–69355  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

69350 return this.subtract(a);
69351 }
69352 setScalar(a) {
69353 for(let i = 0; i < this.ELEMENTS; ++i)this[i] = a;
69354 return this.check();
69355 }
69356 addScalar(a) {
69357 for(let i = 0; i < this.ELEMENTS; ++i)this[i] += a;
69358 return this.check();

Callers

nothing calls this directly

Calls 1

checkMethod · 0.95

Tested by

no test coverage detected