MCPcopy Index your code
hub / github.com/nodejs/node / [kWriteToOutput]

Method [kWriteToOutput]

lib/internal/readline/interface.js:481–487  ·  view source on GitHub ↗
(stringToWrite)

Source from the content-addressed store, hash-verified

479 }
480
481 [kWriteToOutput](stringToWrite) {
482 validateString(stringToWrite, 'stringToWrite');
483
484 if (this.output !== null && this.output !== undefined) {
485 this.output.write(stringToWrite);
486 }
487 }
488
489 [kAddHistory]() {
490 return this.historyManager.addHistory(this[kIsMultiline], this[kLastCommandErrored]);

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected