gui/ui/node_modules.bak/has-symbols
Snider fad16c8c76
Some checks failed
Security Scan / security (push) Failing after 34s
Test / test (push) Failing after 1m44s
chore: sync workspace dependencies
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 15:44:56 +00:00
..
.github chore: sync workspace dependencies 2026-03-15 15:44:56 +00:00
test chore: sync workspace dependencies 2026-03-15 15:44:56 +00:00
.eslintrc chore: sync workspace dependencies 2026-03-15 15:44:56 +00:00
.nycrc chore: sync workspace dependencies 2026-03-15 15:44:56 +00:00
CHANGELOG.md chore: sync workspace dependencies 2026-03-15 15:44:56 +00:00
index.d.ts chore: sync workspace dependencies 2026-03-15 15:44:56 +00:00
index.js chore: sync workspace dependencies 2026-03-15 15:44:56 +00:00
LICENSE chore: sync workspace dependencies 2026-03-15 15:44:56 +00:00
package.json chore: sync workspace dependencies 2026-03-15 15:44:56 +00:00
README.md chore: sync workspace dependencies 2026-03-15 15:44:56 +00:00
shams.d.ts chore: sync workspace dependencies 2026-03-15 15:44:56 +00:00
shams.js chore: sync workspace dependencies 2026-03-15 15:44:56 +00:00
tsconfig.json chore: sync workspace dependencies 2026-03-15 15:44:56 +00:00

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