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

Function isIterable

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

Source from the content-addressed store, hash-verified

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 }
1319 function bodyLength(body) {
1320 if (body == null) {
1321 return 0;

Callers 2

wrapRequestBodyFunction · 0.70
constructorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected