Current Path: > > lib > node_modules > npm > node_modules > is-symbol
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
.editorconfig | File | 276 bytes | March 10 2021 14:36:37. | |
.jscs.json | File | 4128 bytes | March 10 2021 14:36:37. | |
.nvmrc | File | 5 bytes | March 10 2021 14:36:37. | |
.travis.yml | File | 7236 bytes | March 10 2021 14:36:37. | |
CHANGELOG.md | File | 261 bytes | March 10 2021 14:36:37. | |
LICENSE | File | 1082 bytes | March 10 2021 14:36:37. | |
Makefile | File | 3834 bytes | March 10 2021 14:36:37. | |
README.md | File | 1470 bytes | March 10 2021 14:36:37. | |
index.js | File | 767 bytes | March 10 2021 14:36:37. | |
package.json | File | 1693 bytes | March 10 2021 14:36:37. |
'use strict'; var toStr = Object.prototype.toString; var hasSymbols = require('has-symbols')(); if (hasSymbols) { var symToStr = Symbol.prototype.toString; var symStringRegex = /^Symbol\(.*\)$/; var isSymbolObject = function isRealSymbolObject(value) { if (typeof value.valueOf() !== 'symbol') { return false; } return symStringRegex.test(symToStr.call(value)); }; module.exports = function isSymbol(value) { if (typeof value === 'symbol') { return true; } if (toStr.call(value) !== '[object Symbol]') { return false; } try { return isSymbolObject(value); } catch (e) { return false; } }; } else { module.exports = function isSymbol(value) { // this environment does not support Symbols. return false && value; }; }
SILENT KILLER Tool