Repositorio del curso CCOM4030 el semestre B91 del proyecto kilometro0
Luis f4296bcada project initialized 5 years ago
..
test project initialized 5 years ago
.editorconfig project initialized 5 years ago
.eslintrc project initialized 5 years ago
.jscs.json project initialized 5 years ago
.nvmrc project initialized 5 years ago
.travis.yml project initialized 5 years ago
CHANGELOG.md project initialized 5 years ago
LICENSE project initialized 5 years ago
Makefile project initialized 5 years ago
README.md project initialized 5 years ago
index.js project initialized 5 years ago
package.json project initialized 5 years ago

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