bloodymary/node_modules/is-symbol
2020-05-17 12:54:15 +00:00
..
test Changes of win canary v0.0.264 87 2020-05-17 12:54:15 +00:00
.editorconfig Changes of win canary v0.0.264 87 2020-05-17 12:54:15 +00:00
.eslintrc Changes of win canary v0.0.264 87 2020-05-17 12:54:15 +00:00
.jscs.json Changes of win canary v0.0.264 87 2020-05-17 12:54:15 +00:00
.nvmrc Changes of win canary v0.0.264 87 2020-05-17 12:54:15 +00:00
.travis.yml Changes of win canary v0.0.264 87 2020-05-17 12:54:15 +00:00
CHANGELOG.md Changes of win canary v0.0.264 87 2020-05-17 12:54:15 +00:00
index.js Changes of win canary v0.0.264 87 2020-05-17 12:54:15 +00:00
LICENSE Changes of win canary v0.0.264 87 2020-05-17 12:54:15 +00:00
Makefile Changes of win canary v0.0.264 87 2020-05-17 12:54:15 +00:00
package.json Changes of win canary v0.0.264 87 2020-05-17 12:54:15 +00:00
README.md Changes of win canary v0.0.264 87 2020-05-17 12:54:15 +00:00

#is-symbol Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

browser support

Is this an ES6 Symbol value?

Example

var isSymbol = require('is-symbol');
assert(!isSymbol(function () {}));
assert(!isSymbol(null));
assert(!isSymbol(function* () { yield 42; return Infinity; });

assert(isSymbol(Symbol.iterator));
assert(isSymbol(Symbol('foo')));
assert(isSymbol(Symbol.for('foo')));
assert(isSymbol(Object(Symbol('foo'))));

Tests

Simply clone the repo, npm install, and run npm test