UNPKG

react-async-iterators

Version:

The magic of JavaScript async iterators in React ⛓️ 🧬 🔃

8 lines 282 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isAsyncIter = isAsyncIter; function isAsyncIter(input) { const inputAsAny = input; return typeof inputAsAny?.[Symbol.asyncIterator] === 'function'; } //# sourceMappingURL=isAsyncIter.js.map