FLUJOS/BACK_BACK/node_modules/is-symbol
2025-11-07 00:06:12 +01:00
..
.github flow like the river 2025-11-07 00:06:12 +01:00
test flow like the river 2025-11-07 00:06:12 +01:00
.editorconfig flow like the river 2025-11-07 00:06:12 +01:00
.eslintignore flow like the river 2025-11-07 00:06:12 +01:00
.eslintrc flow like the river 2025-11-07 00:06:12 +01:00
.nycrc flow like the river 2025-11-07 00:06:12 +01:00
CHANGELOG.md flow like the river 2025-11-07 00:06:12 +01:00
index.js flow like the river 2025-11-07 00:06:12 +01:00
LICENSE flow like the river 2025-11-07 00:06:12 +01:00
package.json flow like the river 2025-11-07 00:06:12 +01:00
README.md flow like the river 2025-11-07 00:06:12 +01:00

is-symbol Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

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