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

Function isDestroyed

github-actions/browserstack/set-browserstack-env.js:1332–1335  ·  view source on GitHub ↗
(body)

Source from the content-addressed store, hash-verified

1330 return null;
1331 }
1332 function isDestroyed(body) {
1333 var _a;
1334 return body && !!(body.destroyed || body[kDestroyed] || ((_a = stream.isDestroyed) == null ? void 0 : _a.call(stream, body)));
1335 }
1336 function destroy(stream2, err) {
1337 if (stream2 == null || !isStream(stream2) || isDestroyed(stream2)) {
1338 return;

Callers 1

destroyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected