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

Function isAsyncIterable

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

Source from the content-addressed store, hash-verified

1311 return JSON.parse(JSON.stringify(obj));
1312 }
1313 function isAsyncIterable(obj) {
1314 return !!(obj != null && typeof obj[Symbol.asyncIterator] === "function");
1315 }
1316 function isIterable(obj) {
1317 return !!(obj != null && (typeof obj[Symbol.iterator] === "function" || typeof obj[Symbol.asyncIterator] === "function"));
1318 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected