MCPcopy Create free account
hub / github.com/microsoft/SandDance / isAsyncIterable

Function isAsyncIterable

docs/app/js/sanddance-app.js:55291–55293  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

55289 return x && typeof x[Symbol.iterator] === "function";
55290};
55291var isAsyncIterable = function isAsyncIterable(x) {
55292 return x && typeof x[Symbol.asyncIterator] === "function";
55293};
55294var isIterator = function isIterator(x) {
55295 return x && isFunction(x.next);
55296};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected