symbols.js 1.1 KB

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.SYMBOL_TO_STRING_TAG = exports.SYMBOL_ASYNC_ITERATOR = exports.SYMBOL_ITERATOR = void 0;
  6. // In ES2015 (or a polyfilled) environment, this will be Symbol.iterator
  7. // istanbul ignore next (See: 'https://github.com/graphql/graphql-js/issues/2317')
  8. var SYMBOL_ITERATOR = typeof Symbol === 'function' && Symbol.iterator != null ? Symbol.iterator : '@@iterator'; // In ES2017 (or a polyfilled) environment, this will be Symbol.asyncIterator
  9. // istanbul ignore next (See: 'https://github.com/graphql/graphql-js/issues/2317')
  10. exports.SYMBOL_ITERATOR = SYMBOL_ITERATOR;
  11. var SYMBOL_ASYNC_ITERATOR = typeof Symbol === 'function' && Symbol.asyncIterator != null ? Symbol.asyncIterator : '@@asyncIterator'; // istanbul ignore next (See: 'https://github.com/graphql/graphql-js/issues/2317')
  12. exports.SYMBOL_ASYNC_ITERATOR = SYMBOL_ASYNC_ITERATOR;
  13. var SYMBOL_TO_STRING_TAG = typeof Symbol === 'function' && Symbol.toStringTag != null ? Symbol.toStringTag : '@@toStringTag';
  14. exports.SYMBOL_TO_STRING_TAG = SYMBOL_TO_STRING_TAG;