vlad 6f123ff03e 18.07 %!s(int64=6) %!d(string=hai) anos
..
test 6f123ff03e 18.07 %!s(int64=6) %!d(string=hai) anos
.editorconfig 6f123ff03e 18.07 %!s(int64=6) %!d(string=hai) anos
.eslintrc 6f123ff03e 18.07 %!s(int64=6) %!d(string=hai) anos
.jscs.json 6f123ff03e 18.07 %!s(int64=6) %!d(string=hai) anos
.npmignore 6f123ff03e 18.07 %!s(int64=6) %!d(string=hai) anos
.nvmrc 6f123ff03e 18.07 %!s(int64=6) %!d(string=hai) anos
.travis.yml 6f123ff03e 18.07 %!s(int64=6) %!d(string=hai) anos
CHANGELOG.md 6f123ff03e 18.07 %!s(int64=6) %!d(string=hai) anos
LICENSE 6f123ff03e 18.07 %!s(int64=6) %!d(string=hai) anos
Makefile 6f123ff03e 18.07 %!s(int64=6) %!d(string=hai) anos
README.md 6f123ff03e 18.07 %!s(int64=6) %!d(string=hai) anos
index.js 6f123ff03e 18.07 %!s(int64=6) %!d(string=hai) anos
package.json 6f123ff03e 18.07 %!s(int64=6) %!d(string=hai) anos

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