MCPcopy Create free account
hub / github.com/angular/dev-infra / isStream

Function isStream

github-actions/saucelabs/set-saucelabs-env.js:1203–1205  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1201 function nop() {
1202 }
1203 function isStream(obj) {
1204 return obj && typeof obj === "object" && typeof obj.pipe === "function" && typeof obj.on === "function";
1205 }
1206 function isBlobLike(object) {
1207 if (object === null) {
1208 return false;

Callers 4

wrapRequestBodyFunction · 0.70
bodyLengthFunction · 0.70
destroyFunction · 0.70
constructorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected