bloodymary/node_modules/is-symbol
2020-05-17 12:54:13 +00:00
..
test Changes of win ptb v0.0.52 1 2020-05-17 12:54:13 +00:00
.editorconfig Changes of win ptb v0.0.52 1 2020-05-17 12:54:13 +00:00
.eslintrc Changes of win ptb v0.0.52 1 2020-05-17 12:54:13 +00:00
.jscs.json Changes of win ptb v0.0.52 1 2020-05-17 12:54:13 +00:00
.nvmrc Changes of win ptb v0.0.52 1 2020-05-17 12:54:13 +00:00
.travis.yml Changes of win ptb v0.0.52 1 2020-05-17 12:54:13 +00:00
CHANGELOG.md Changes of win ptb v0.0.52 1 2020-05-17 12:54:13 +00:00
index.js Changes of win ptb v0.0.52 1 2020-05-17 12:54:13 +00:00
LICENSE Changes of win ptb v0.0.52 1 2020-05-17 12:54:13 +00:00
Makefile Changes of win ptb v0.0.52 1 2020-05-17 12:54:13 +00:00
package.json Changes of win ptb v0.0.52 1 2020-05-17 12:54:13 +00:00
README.md Changes of win ptb v0.0.52 1 2020-05-17 12:54:13 +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