All Projects → inspect-js → is-symbol

inspect-js / is-symbol

Licence: MIT license
Is this an ES6 Symbol value?

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to is-symbol

is-primitive
Is the typeof value a javascript primitive?
Stars: ✭ 35 (+118.75%)
Mutual labels:  is, symbol
Symbol
Symbol .net library
Stars: ✭ 14 (-12.5%)
Mutual labels:  symbol
Coreui Icons
CoreUI Free Icons - Premium designed free icon set with marks in SVG, Webfont and raster formats
Stars: ✭ 1,813 (+11231.25%)
Mutual labels:  symbol
pcad2kicad
Convert Altium Designer and PCAD library to KiCad
Stars: ✭ 94 (+487.5%)
Mutual labels:  symbol
is-arrow-function
Determine if a function is an ES6 arrow function or not.
Stars: ✭ 20 (+25%)
Mutual labels:  is
is-dotfile
Return true if the file is (or the file path has) a dotfile.
Stars: ✭ 13 (-18.75%)
Mutual labels:  is
is-negative-zero
Is this value negative zero? === will lie to you.
Stars: ✭ 16 (+0%)
Mutual labels:  is
symbol-cli
Command-line tool for Symbol
Stars: ✭ 35 (+118.75%)
Mutual labels:  symbol
checkif.js
Javascript check library
Stars: ✭ 30 (+87.5%)
Mutual labels:  is
js-class-is
Enhances a JavaScript class by adding an is<Class> property to compare types between realms.
Stars: ✭ 17 (+6.25%)
Mutual labels:  is
metrics
IS, FID score Pytorch and TF implementation, TF implementation is a wrapper of the official ones.
Stars: ✭ 91 (+468.75%)
Mutual labels:  is
kicad-library
This repo contains KICAD libraries necessary for designing hardware projects
Stars: ✭ 30 (+87.5%)
Mutual labels:  symbol
js-symbol-tree
Turn any collection of objects into its own efficient tree or linked list using Symbol
Stars: ✭ 86 (+437.5%)
Mutual labels:  symbol
Core Js
Standard Library
Stars: ✭ 15,854 (+98987.5%)
Mutual labels:  symbol
dotfiles
Some items in /home/kiedtl/etc
Stars: ✭ 49 (+206.25%)
Mutual labels:  is
schifra
C++ Reed Solomon Error Correcting Library https://www.schifra.com
Stars: ✭ 28 (+75%)
Mutual labels:  symbol
explorer
The reference blockchain explorer for Symbol.
Stars: ✭ 17 (+6.25%)
Mutual labels:  symbol
is-regex
Is this value a JS regex?
Stars: ✭ 22 (+37.5%)
Mutual labels:  is
NtSymbol
Resolve DOS MZ executable symbols at runtime
Stars: ✭ 78 (+387.5%)
Mutual labels:  symbol
DataTypes
Built-in data types
Stars: ✭ 34 (+112.5%)
Mutual labels:  symbol

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].