9 lines
No EOL
404 B
JavaScript
9 lines
No EOL
404 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.isAsyncIterable = void 0;
|
|
var isFunction_1 = require("./isFunction");
|
|
function isAsyncIterable(obj) {
|
|
return Symbol.asyncIterator && isFunction_1.isFunction(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);
|
|
}
|
|
exports.isAsyncIterable = isAsyncIterable;
|
|
//# sourceMappingURL=isAsyncIterable.js.map
|