You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 609B

12345678910111213141516171819
  1. /**
  2. * @file Tests if ES6 @@toStringTag is supported.
  3. * @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-@@tostringtag|26.3.1 @@toStringTag}
  4. * @version 1.4.1
  5. * @author Xotic750 <Xotic750@gmail.com>
  6. * @copyright Xotic750
  7. * @license {@link <https://opensource.org/licenses/MIT> MIT}
  8. * @module has-to-string-tag-x
  9. */
  10. 'use strict';
  11. /**
  12. * Indicates if `Symbol.toStringTag`exists and is the correct type.
  13. * `true`, if it exists and is the correct type, otherwise `false`.
  14. *
  15. * @type boolean
  16. */
  17. module.exports = require('has-symbol-support-x') && typeof Symbol.toStringTag === 'symbol';