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

Function isWritableStream

lib/internal/streams/utils.js:90–97  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

88}
89
90function isWritableStream(obj) {
91 return !!(
92 obj &&
93 !isNodeStream(obj) &&
94 typeof obj.getWriter === 'function' &&
95 typeof obj.abort === 'function'
96 );
97}
98
99function isTransformStream(obj) {
100 return !!(

Callers 15

styleTextFunction · 0.85
lockedMethod · 0.85
abortMethod · 0.85
closeMethod · 0.85
getWriterMethod · 0.85
[kTransfer]Method · 0.85
constructorMethod · 0.85
pipeThroughMethod · 0.85
pipeToMethod · 0.85

Calls 1

isNodeStreamFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…