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.
 
 
 
 
rpm-mcarman b9f7ec4306 First Commit il y a 3 ans
..
.github First Commit il y a 3 ans
test First Commit il y a 3 ans
.editorconfig First Commit il y a 3 ans
.eslintrc First Commit il y a 3 ans
.nvmrc First Commit il y a 3 ans
.travis.yml First Commit il y a 3 ans
CHANGELOG.md First Commit il y a 3 ans
LICENSE First Commit il y a 3 ans
Makefile First Commit il y a 3 ans
README.md First Commit il y a 3 ans
index.js First Commit il y a 3 ans
package.json First Commit il y a 3 ans

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