install-nix-action/node_modules/is-symbol
Domen Kožar 70742d22d9
v6
2019-11-19 17:50:30 +01:00
..
test v6 2019-11-19 17:50:30 +01:00
.editorconfig v6 2019-11-19 17:50:30 +01:00
.eslintrc v6 2019-11-19 17:50:30 +01:00
.jscs.json v6 2019-11-19 17:50:30 +01:00
.nvmrc v6 2019-11-19 17:50:30 +01:00
.travis.yml v6 2019-11-19 17:50:30 +01:00
CHANGELOG.md v6 2019-11-19 17:50:30 +01:00
index.js v6 2019-11-19 17:50:30 +01:00
LICENSE v6 2019-11-19 17:50:30 +01:00
Makefile v6 2019-11-19 17:50:30 +01:00
package.json v6 2019-11-19 17:50:30 +01:00
README.md v6 2019-11-19 17:50:30 +01: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