MCPcopy Index your code
hub / github.com/dataease/SQLBot / hasIterator

Function hasIterator

frontend/public/swagger-ui-bundle.js:1556–1558  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

1554 return { value: void 0, done: !0 }
1555 }
1556 function hasIterator(s) {
1557 return !!getIteratorFn(s)
1558 }
1559 function isIterator(s) {
1560 return s && 'function' == typeof s.next
1561 }

Callers 2

keyedSeqFromValueFunction · 0.85
maybeIndexedSeqFromValueFunction · 0.85

Calls 1

getIteratorFnFunction · 0.85

Tested by

no test coverage detected