Dashboard sipadu mbip
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
root d8c1b4a1be initial il y a 5 ans
..
test initial il y a 5 ans
.editorconfig initial il y a 5 ans
.eslintrc initial il y a 5 ans
.jscs.json initial il y a 5 ans
.nvmrc initial il y a 5 ans
.travis.yml initial il y a 5 ans
CHANGELOG.md initial il y a 5 ans
LICENSE initial il y a 5 ans
Makefile initial il y a 5 ans
README.md initial il y a 5 ans
index.js initial il y a 5 ans
package.json initial il y a 5 ans

README.md

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