shift73k/assets_old/node_modules/is-symbol
2022-08-13 07:32:36 -04:00
..
.github progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00
test progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00
.editorconfig progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00
.eslintrc progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00
.nvmrc progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00
.travis.yml progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00
CHANGELOG.md progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00
index.js progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00
LICENSE progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00
Makefile progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00
package.json progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00
README.md progress on migrating to heex templates and font-icons 2022-08-13 07:32:36 -04:00

#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