{"_id":"is-symbol","_rev":"3745027","name":"is-symbol","description":"Determine if a value is an ES6 Symbol or not.","dist-tags":{"latest":"1.1.1"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2025-02-13T06:28:21.000Z","created":"2015-01-24T22:13:24.626Z","1.1.1":"2024-12-13T07:37:41.707Z","1.1.0":"2024-12-02T18:43:08.492Z","1.0.4":"2021-05-08T19:12:11.304Z","1.0.3":"2019-11-21T00:31:29.035Z","1.0.2":"2018-09-21T00:29:14.405Z","1.0.1":"2015-01-26T09:47:09.285Z","1.0.0":"2015-01-24T22:13:24.626Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git://github.com/inspect-js/is-symbol.git"},"versions":{"1.1.1":{"name":"is-symbol","version":"1.1.1","description":"Determine if a value is an ES6 Symbol or not.","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"npx npm@'>=10.2' audit --production","lint":"eslint --ext=js,mjs .","postlint":"tsc -p . && attw -P","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-symbol.git"},"keywords":["symbol","es6","is","Symbol"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-symbol/issues"},"dependencies":{"call-bound":"^1.0.2","has-symbols":"^1.1.0","safe-regex-test":"^1.1.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.1","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.2","@types/for-each":"^0.3.3","@types/object-inspect":"^1.13.0","@types/tape":"^5.6.5","auto-changelog":"^2.5.0","encoding":"^0.1.13","es-value-fixtures":"^1.5.0","eslint":"=8.8.0","for-each":"^0.3.3","has-tostringtag":"^1.0.2","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.3","safe-publish-latest":"^2.0.0","tape":"^5.9.0","typescript":"next"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows",".nvmrc"]},"_id":"is-symbol@1.1.1","gitHead":"db70b773b88a5b43995bea9540d0398773170ed8","types":"./index.d.ts","homepage":"https://github.com/inspect-js/is-symbol#readme","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"shasum":"f47761279f532e2b05a7024a7506dbbedacd0634","size":9572,"noattachment":false,"key":"/is-symbol/-/is-symbol-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-symbol/download/is-symbol-1.1.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-symbol_1.1.1_1734075461496_0.10986614940712225"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-13T07:37:41.707Z","publish_time":1734075461707,"_source_registry_name":"default","_cnpm_publish_time":1734075461707},"1.1.0":{"name":"is-symbol","version":"1.1.0","description":"Determine if a value is an ES6 Symbol or not.","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"npx npm@'>=10.2' audit --production","lint":"eslint --ext=js,mjs .","postlint":"tsc -p . && attw -P","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-symbol.git"},"keywords":["symbol","es6","is","Symbol"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-symbol/issues"},"dependencies":{"call-bind":"^1.0.7","has-symbols":"^1.0.3","safe-regex-test":"^1.0.3"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.0","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.0","@types/call-bind":"^1.0.5","@types/for-each":"^0.3.3","@types/has-symbols":"^1.0.2","@types/object-inspect":"^1.13.0","@types/safe-regex-test":"^1.0.2","@types/tape":"^5.6.5","auto-changelog":"^2.5.0","encoding":"^0.1.13","es-value-fixtures":"^1.5.0","eslint":"=8.8.0","for-each":"^0.3.3","has-tostringtag":"^1.0.2","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.3","safe-publish-latest":"^2.0.0","tape":"^5.9.0","typescript":"next"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows",".nvmrc"]},"_id":"is-symbol@1.1.0","gitHead":"2b9dc79b5373d90df133f80d91d571d6c4e1ef4f","types":"./index.d.ts","homepage":"https://github.com/inspect-js/is-symbol#readme","_nodeVersion":"23.3.0","_npmVersion":"10.9.0","dist":{"shasum":"ae993830a56d4781886d39f9f0a46b3e89b7b60b","size":9352,"noattachment":false,"key":"/is-symbol/-/is-symbol-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-symbol/download/is-symbol-1.1.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-symbol_1.1.0_1733164988267_0.38662109580626325"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-02T18:43:08.492Z","publish_time":1733164988492,"_source_registry_name":"default","_cnpm_publish_time":1733164988492},"1.0.4":{"name":"is-symbol","version":"1.0.4","description":"Determine if a value is an ES6 Symbol or not.","main":"index.js","scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"npx aud --production","lint":"eslint .","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-symbol.git"},"keywords":["symbol","es6","is","Symbol"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-symbol/issues"},"dependencies":{"has-symbols":"^1.0.2"},"devDependencies":{"@ljharb/eslint-config":"^17.6.0","aud":"^1.1.5","auto-changelog":"^2.2.1","eslint":"^7.26.0","nyc":"^10.3.2","object-inspect":"^1.10.3","safe-publish-latest":"^1.1.4","tape":"^5.2.2"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"962084d30f3a2a83dff90d59504d03b85ffa5c17","homepage":"https://github.com/inspect-js/is-symbol#readme","_id":"is-symbol@1.0.4","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"shasum":"a6dac93b635b063ca6872236de88910a57af139c","size":8086,"noattachment":false,"key":"/is-symbol/-/is-symbol-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-symbol/download/is-symbol-1.0.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-symbol_1.0.4_1620501131081_0.753784298906609"},"_hasShrinkwrap":false,"publish_time":1620501131304,"_cnpm_publish_time":1620501131304},"1.0.3":{"name":"is-symbol","version":"1.0.3","description":"Determine if a value is an ES6 Symbol or not.","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run lint","tests-only":"node --es-staging --harmony test","test":"npm run tests-only","posttest":"npx aud","coverage":"covert test","lint":"eslint .","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-symbol.git"},"keywords":["symbol","es6","is","Symbol"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-symbol/issues"},"dependencies":{"has-symbols":"^1.0.1"},"devDependencies":{"@ljharb/eslint-config":"^15.0.2","auto-changelog":"^1.16.2","covert":"^1.1.1","eslint":"^6.6.0","object-inspect":"^1.7.0","safe-publish-latest":"^1.1.4","semver":"^6.3.0","tape":"^4.11.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"f42e0be5f676e6c82c83c9cad70f1fbb3b81c8ca","homepage":"https://github.com/inspect-js/is-symbol#readme","_id":"is-symbol@1.0.3","_nodeVersion":"13.1.0","_npmVersion":"6.12.1","dist":{"shasum":"38e1014b9e6329be0de9d24a414fd7441ec61937","size":8828,"noattachment":false,"key":"/is-symbol/-/is-symbol-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-symbol/download/is-symbol-1.0.3.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-symbol_1.0.3_1574296288922_0.5948718360504404"},"_hasShrinkwrap":false,"publish_time":1574296289035,"_cnpm_publish_time":1574296289035},"1.0.2":{"name":"is-symbol","version":"1.0.2","description":"Determine if a value is an ES6 Symbol or not.","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run lint","tests-only":"node --es-staging --harmony test","test":"npm run tests-only","posttest":"npm run security","coverage":"covert test","lint":"npm run jscs && npm run eslint","jscs":"jscs *.js */*.js","eslint":"eslint *.js */*.js","security":"nsp check"},"repository":{"type":"git","url":"git://github.com/ljharb/is-symbol.git"},"keywords":["symbol","es6","is","Symbol"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/is-symbol/issues"},"dependencies":{"has-symbols":"^1.0.0"},"devDependencies":{"@ljharb/eslint-config":"^12.2.1","covert":"^1.1.0","eslint":"^4.19.1","jscs":"^3.0.7","nsp":"^3.2.1","object-inspect":"^1.6.0","safe-publish-latest":"^1.1.2","semver":"^5.5.0","tape":"^4.9.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"9769e1bdc9a265e3f69cc0fab2002991bf0999b2","homepage":"https://github.com/ljharb/is-symbol#readme","_id":"is-symbol@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"a055f6ae57192caee329e7a860118b497a950f38","size":7285,"noattachment":false,"key":"/is-symbol/-/is-symbol-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-symbol/download/is-symbol-1.0.2.tgz"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-symbol_1.0.2_1537489754249_0.5751165752963447"},"_hasShrinkwrap":false,"publish_time":1537489754405,"_cnpm_publish_time":1537489754405},"1.0.1":{"name":"is-symbol","version":"1.0.1","description":"Determine if a value is an ES6 Symbol or not.","main":"index.js","scripts":{"test":"npm run lint && node --es-staging --harmony test/index.js && npm run security","coverage":"covert test/index.js","coverage:quiet":"covert test/index.js --quiet","lint":"jscs *.js */*.js","security":"nsp package"},"repository":{"type":"git","url":"git://github.com/ljharb/is-symbol.git"},"keywords":["symbol","es6","is","Symbol"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/is-symbol/issues"},"dependencies":{},"devDependencies":{"tape":"~3.4.0","covert":"1.0.0","jscs":"~1.10.0","nsp":"~1.0.0","semver":"~4.2.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"5bbd991ff41a459a941d205de65d533cc6c3cd8c","homepage":"https://github.com/ljharb/is-symbol","_id":"is-symbol@1.0.1","_shasum":"3cc59f00025194b6ab2e38dbae6689256b660572","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"3cc59f00025194b6ab2e38dbae6689256b660572","size":7576,"noattachment":false,"key":"/is-symbol/-/is-symbol-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-symbol/download/is-symbol-1.0.1.tgz"},"directories":{},"publish_time":1422265629285,"_cnpm_publish_time":1422265629285,"_hasShrinkwrap":false},"1.0.0":{"name":"is-symbol","version":"1.0.0","description":"Determine if a function is an ES6 generator function or not.","main":"index.js","scripts":{"test":"npm run lint && node --es-staging --harmony test/index.js && npm run security","coverage":"covert test/index.js","coverage:quiet":"covert test/index.js --quiet","lint":"jscs *.js */*.js","security":"nsp package"},"repository":{"type":"git","url":"git://github.com/ljharb/is-symbol.git"},"keywords":["symbol","es6","is","Symbol"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/is-symbol/issues"},"dependencies":{},"devDependencies":{"tape":"~3.4.0","covert":"1.0.0","jscs":"~1.10.0","nsp":"~1.0.0","semver":"~4.2.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"86c2f7d882ebfbe5b2d3d8b874e59f5db1cd22cb","homepage":"https://github.com/ljharb/is-symbol","_id":"is-symbol@1.0.0","_shasum":"75934ad042fb1675c52f687f2cb47d66d5c45af2","_from":".","_npmVersion":"2.3.0","_nodeVersion":"1.0.4","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"75934ad042fb1675c52f687f2cb47d66d5c45af2","size":7553,"noattachment":false,"key":"/is-symbol/-/is-symbol-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-symbol/download/is-symbol-1.0.0.tgz"},"directories":{},"publish_time":1422137604626,"_cnpm_publish_time":1422137604626,"_hasShrinkwrap":false}},"readme":"# is-symbol <sup>[![Version Badge][2]][1]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][5]][6]\n[![dev dependency status][7]][8]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][11]][1]\n\nIs this an ES6 Symbol value?\n\n## Example\n\n```js\nvar isSymbol = require('is-symbol');\nassert(!isSymbol(function () {}));\nassert(!isSymbol(null));\nassert(!isSymbol(function* () { yield 42; return Infinity; });\n\nassert(isSymbol(Symbol.iterator));\nassert(isSymbol(Symbol('foo')));\nassert(isSymbol(Symbol.for('foo')));\nassert(isSymbol(Object(Symbol('foo'))));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-symbol\n[2]: https://versionbadg.es/inspect-js/is-symbol.svg\n[5]: https://david-dm.org/inspect-js/is-symbol.svg\n[6]: https://david-dm.org/inspect-js/is-symbol\n[7]: https://david-dm.org/inspect-js/is-symbol/dev-status.svg\n[8]: https://david-dm.org/inspect-js/is-symbol#info=devDependencies\n[11]: https://nodei.co/npm/is-symbol.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/is-symbol.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/is-symbol.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=is-symbol\n[codecov-image]: https://codecov.io/gh/inspect-js/is-symbol/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/is-symbol/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-symbol\n[actions-url]: https://github.com/inspect-js/is-symbol/actions\n","_attachments":{},"homepage":"https://github.com/inspect-js/is-symbol#readme","bugs":{"url":"https://github.com/inspect-js/is-symbol/issues"},"license":"MIT"}