bigint-crypto-utils/node_modules/is-symbol
juanelas c29b520108 JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00
..
.github JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00
test JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00
.editorconfig JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00
.eslintrc JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00
.nvmrc JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00
.travis.yml JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00
CHANGELOG.md JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00
LICENSE JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00
Makefile JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00
README.md JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00
index.js JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00
package.json JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00

README.md

#is-symbol Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

[![browser support][9]][10]

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