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

Method toArray

docs/app/js/sanddance-app.js:69260–69263  ·  view source on GitHub ↗
(targetArray = [], offset = 0)

Source from the content-addressed store, hash-verified

69258 return this.check();
69259 }
69260 toArray(targetArray = [], offset = 0) {
69261 for(let i = 0; i < this.ELEMENTS; ++i)targetArray[offset + i] = this[i];
69262 return targetArray;
69263 }
69264 from(arrayOrObject) {
69265 return Array.isArray(arrayOrObject) ? this.copy(arrayOrObject) : this.fromObject(arrayOrObject);
69266 }

Callers 1

toMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected