isAsyncIterable.js 243 B

12345
  1. import { isFunction } from './isFunction';
  2. export function isAsyncIterable(obj) {
  3. return Symbol.asyncIterator && isFunction(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);
  4. }
  5. //# sourceMappingURL=isAsyncIterable.js.map