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

Function isWritable

lib/internal/streams/iter/classic.js:526–532  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

524 }
525
526 function isWritable() {
527 // Duck-typed streams may not have these properties -- treat missing
528 // as false (i.e., writable is still open).
529 return !(writable.destroyed ?? false) &&
530 !(writable.writableFinished ?? false) &&
531 !(writable.writableEnded ?? false);
532 }
533
534 function isFull() {
535 return (writable.writableLength ?? 0) >= hwm;

Callers 6

desiredSizeFunction · 0.70
writeFunction · 0.70
writevFunction · 0.70
[SymbolAsyncDispose]Function · 0.70
[SymbolDispose]Function · 0.70
fromWritableFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…