MCPcopy Index your code
hub / github.com/microsoft/SandDance / isIterator

Function isIterator

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

Source from the content-addressed store, hash-verified

55292 return x && typeof x[Symbol.asyncIterator] === "function";
55293};
55294var isIterator = function isIterator(x) {
55295 return x && isFunction(x.next);
55296};
55297var isResponse = function isResponse(x) {
55298 return typeof Response !== "undefined" && x instanceof Response || x && x.arrayBuffer && x.text && x.json;
55299};

Callers

nothing calls this directly

Calls 1

isFunctionFunction · 0.70

Tested by

no test coverage detected