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

Function isStream

deps/undici/undici.js:1636–1638  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1634 }
1635 __name(wrapRequestBody, "wrapRequestBody");
1636 function isStream(obj) {
1637 return obj && typeof obj === "object" && typeof obj.pipe === "function" && typeof obj.on === "function";
1638 }
1639 __name(isStream, "isStream");
1640 function isBlobLike(object) {
1641 return object instanceof Blob;

Callers 4

wrapRequestBodyFunction · 0.70
bodyLengthFunction · 0.70
destroyFunction · 0.70
constructorMethod · 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…