radin-scale-api/node_modules/has-symbols
mehranz 0eb8fbcf69 update 2026-02-16 15:55:07 +03:30
..
.github update 2026-02-16 15:55:07 +03:30
test update 2026-02-16 15:55:07 +03:30
.eslintrc update 2026-02-16 15:55:07 +03:30
.nycrc update 2026-02-16 15:55:07 +03:30
CHANGELOG.md update 2026-02-16 15:55:07 +03:30
LICENSE update 2026-02-16 15:55:07 +03:30
README.md update 2026-02-16 15:55:07 +03:30
index.d.ts update 2026-02-16 15:55:07 +03:30
index.js update 2026-02-16 15:55:07 +03:30
package.json update 2026-02-16 15:55:07 +03:30
shams.d.ts update 2026-02-16 15:55:07 +03:30
shams.js update 2026-02-16 15:55:07 +03:30
tsconfig.json update 2026-02-16 15:55:07 +03:30

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