wishthis/node_modules/rxjs/dist/esm/internal/util/isAsyncIterable.js
2022-04-07 09:06:43 +02:00

5 lines
No EOL
243 B
JavaScript

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