MCPcopy Index your code
hub / github.com/nodejs/node / isWarned

Function isWarned

test/parallel/test-readline-promises-interface.js:25–31  ·  view source on GitHub ↗
(emitter)

Source from the content-addressed store, hash-verified

23}
24
25function isWarned(emitter) {
26 for (const name in emitter) {
27 const listeners = emitter[name];
28 if (listeners?.warned) return true;
29 }
30 return false;
31}
32
33function getInterface(options) {
34 const fi = new FakeInput();

Calls

no outgoing calls

Tested by

no test coverage detected