diff options
Diffstat (limited to 'includes/external/school/node_modules/graphql/jsutils/isAsyncIterable.js')
-rw-r--r-- | includes/external/school/node_modules/graphql/jsutils/isAsyncIterable.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/includes/external/school/node_modules/graphql/jsutils/isAsyncIterable.js b/includes/external/school/node_modules/graphql/jsutils/isAsyncIterable.js new file mode 100644 index 0000000..3f59f2b --- /dev/null +++ b/includes/external/school/node_modules/graphql/jsutils/isAsyncIterable.js @@ -0,0 +1,13 @@ +"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'; +} |