forked from lix-project/lix-website
20 lines
609 B
JavaScript
20 lines
609 B
JavaScript
/**
|
|
* @file Tests if ES6 @@toStringTag is supported.
|
|
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-@@tostringtag|26.3.1 @@toStringTag}
|
|
* @version 1.4.1
|
|
* @author Xotic750 <Xotic750@gmail.com>
|
|
* @copyright Xotic750
|
|
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
|
* @module has-to-string-tag-x
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
/**
|
|
* Indicates if `Symbol.toStringTag`exists and is the correct type.
|
|
* `true`, if it exists and is the correct type, otherwise `false`.
|
|
*
|
|
* @type boolean
|
|
*/
|
|
module.exports = require('has-symbol-support-x') && typeof Symbol.toStringTag === 'symbol';
|