summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/jsutils/isAsyncIterable.js
blob: 3f59f2b2d601b047aba03a8d58d0251f2c5fb330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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';
}