summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/es6-symbol/is-symbol.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/es6-symbol/is-symbol.js')
-rw-r--r--tools/eslint/node_modules/es6-symbol/is-symbol.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/eslint/node_modules/es6-symbol/is-symbol.js b/tools/eslint/node_modules/es6-symbol/is-symbol.js
deleted file mode 100644
index 074cb07fb5..0000000000
--- a/tools/eslint/node_modules/es6-symbol/is-symbol.js
+++ /dev/null
@@ -1,9 +0,0 @@
-'use strict';
-
-module.exports = function (x) {
- if (!x) return false;
- if (typeof x === 'symbol') return true;
- if (!x.constructor) return false;
- if (x.constructor.name !== 'Symbol') return false;
- return (x[x.constructor.toStringTag] === 'Symbol');
-};