Current Path: > > usr > lib > node_modules > npm > > node_modules > is-symbol
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.9 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