wishthis/node_modules/rxjs/dist/esm5/internal/util/isAsyncIterable.js

5 lines
243 B
JavaScript
Raw Normal View History

2022-04-07 07:06:43 +00:00
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