/ stream.nieuweinstituut.nl / node_modules / is-symbol /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]test/2 years ago -  
[TXT]CHANGELOG.md40 years ago8.9K 
[   ]LICENSE40 years ago1.1K 
[   ]Makefile40 years ago3.7K 
[TXT]README.md40 years ago1.4Kd768d73 docs [كارل مبارك]
[   ]index.js40 years ago767 3e510ca test new git [كارل مبارك]
[   ]package.json2 years ago2.8K3e510ca test new git [كارل مبارك]
README.md

#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

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80