arvin.torres e3ca5d94a7 Campanas de Paz para la Mujer | 5 lat temu | |
---|---|---|
.. | ||
test | 5 lat temu | |
.editorconfig | 5 lat temu | |
.eslintrc | 5 lat temu | |
.jscs.json | 5 lat temu | |
.nvmrc | 5 lat temu | |
.travis.yml | 5 lat temu | |
CHANGELOG.md | 5 lat temu | |
LICENSE | 5 lat temu | |
Makefile | 5 lat temu | |
README.md | 5 lat temu | |
index.js | 5 lat temu | |
package.json | 5 lat temu |
Is this an ES6 Symbol value?
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'))));
Simply clone the repo, npm install
, and run npm test