diff options
Diffstat (limited to 'tools/eslint/node_modules/es6-symbol/is-symbol.js')
-rw-r--r-- | tools/eslint/node_modules/es6-symbol/is-symbol.js | 9 |
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'); -}; |