htc 7ca38fdcbb 善行少年PC端首次提交(基础版) hai 10 meses
..
.github 7ca38fdcbb 善行少年PC端首次提交(基础版) hai 10 meses
test 7ca38fdcbb 善行少年PC端首次提交(基础版) hai 10 meses
.editorconfig 7ca38fdcbb 善行少年PC端首次提交(基础版) hai 10 meses
.eslintrc 7ca38fdcbb 善行少年PC端首次提交(基础版) hai 10 meses
.nycrc 7ca38fdcbb 善行少年PC端首次提交(基础版) hai 10 meses
CHANGELOG.md 7ca38fdcbb 善行少年PC端首次提交(基础版) hai 10 meses
LICENSE 7ca38fdcbb 善行少年PC端首次提交(基础版) hai 10 meses
README.md 7ca38fdcbb 善行少年PC端首次提交(基础版) hai 10 meses
index.d.ts 7ca38fdcbb 善行少年PC端首次提交(基础版) hai 10 meses
index.js 7ca38fdcbb 善行少年PC端首次提交(基础版) hai 10 meses
package.json 7ca38fdcbb 善行少年PC端首次提交(基础版) hai 10 meses
tsconfig.json 7ca38fdcbb 善行少年PC端首次提交(基础版) hai 10 meses

README.md

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