summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/escope/node_modules/es6-weak-map/node_modules/es6-symbol/is-native-implemented.js
blob: a8cb8b8681ee691b0e02e761d7dd72d27087b8db (plain)
1
2
3
4
5
6
7
8
// Exports true if environment provides native `Symbol` implementation

'use strict';

module.exports = (function () {
	if (typeof Symbol !== 'function') return false;
	return (typeof Symbol.iterator === 'symbol');
}());