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

Function isWebStream

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

Source from the content-addressed store, hash-verified

106}
107
108function isWebStream(obj) {
109 return isReadableStream(obj) || isWritableStream(obj) || isTransformStream(obj);
110}
111
112function isIterable(obj, isAsync) {
113 if (obj == null) return false;

Callers 4

pipelineImplFunction · 0.85
compose.jsFile · 0.85
pipelineFunction · 0.85

Calls 3

isWritableStreamFunction · 0.85
isTransformStreamFunction · 0.85
isReadableStreamFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…