pixelbattle/node_modules/has-symbols
leca eb425f4400 implemented basic client-server communication 2023-07-31 19:18:21 +03:00
..
.github implemented basic client-server communication 2023-07-31 19:18:21 +03:00
test implemented basic client-server communication 2023-07-31 19:18:21 +03:00
.eslintrc implemented basic client-server communication 2023-07-31 19:18:21 +03:00
.nycrc implemented basic client-server communication 2023-07-31 19:18:21 +03:00
CHANGELOG.md implemented basic client-server communication 2023-07-31 19:18:21 +03:00
LICENSE implemented basic client-server communication 2023-07-31 19:18:21 +03:00
README.md implemented basic client-server communication 2023-07-31 19:18:21 +03:00
index.js implemented basic client-server communication 2023-07-31 19:18:21 +03:00
package.json implemented basic client-server communication 2023-07-31 19:18:21 +03:00
shams.js implemented basic client-server communication 2023-07-31 19:18:21 +03:00

README.md

has-symbols Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Determine if the JS environment has Symbol support. Supports spec, or shams.

Example

var hasSymbols = require('has-symbols');

hasSymbols() === true; // if the environment has native Symbol support. Not polyfillable, not forgeable.

var hasSymbolsKinda = require('has-symbols/shams');
hasSymbolsKinda() === true; // if the environment has a Symbol sham that mostly follows the spec.

Supported Symbol shams

Tests

Simply clone the repo, npm install, and run npm test