MCPcopy Index your code
hub / github.com/Moddable-OpenSource/moddable / writeAux

Method writeAux

tools/file.js:34–43  ·  view source on GitHub ↗
(it)

Source from the content-addressed store, hash-verified

32 this.writeAux(arguments[i]);
33 }
34 writeAux(it) {
35 if (it instanceof Array)
36 it.forEach(item => this.writeAux(item));
37 else if (it instanceof ArrayBuffer)
38 this.writeBuffer(it);
39 else if (typeof(it) == "number")
40 this.writeByte(it);
41 else
42 this.writeString(it);
43 }
44}

Callers 1

writeMethod · 0.80

Calls 3

writeBufferMethod · 0.45
writeByteMethod · 0.45
writeStringMethod · 0.45

Tested by

no test coverage detected