Files
coopgo/node_modules/graphql/jsutils/isAsyncIterable.js
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

14 lines
415 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = isAsyncIterable;
var _symbols = require("../polyfills/symbols.js");
// eslint-disable-next-line no-redeclare
function isAsyncIterable(maybeAsyncIterable) {
return typeof (maybeAsyncIterable === null || maybeAsyncIterable === void 0 ? void 0 : maybeAsyncIterable[_symbols.SYMBOL_ASYNC_ITERATOR]) === 'function';
}