PDF_Generation_and_Automation/node_modules/has-symbols
2025-08-24 12:01:08 +05:30
..
.github v1.0.0-alpha, pdf download 2025-08-24 12:01:08 +05:30
test v1.0.0-alpha, pdf download 2025-08-24 12:01:08 +05:30
.eslintrc v1.0.0-alpha, pdf download 2025-08-24 12:01:08 +05:30
.nycrc v1.0.0-alpha, pdf download 2025-08-24 12:01:08 +05:30
CHANGELOG.md v1.0.0-alpha, pdf download 2025-08-24 12:01:08 +05:30
index.d.ts v1.0.0-alpha, pdf download 2025-08-24 12:01:08 +05:30
index.js v1.0.0-alpha, pdf download 2025-08-24 12:01:08 +05:30
LICENSE v1.0.0-alpha, pdf download 2025-08-24 12:01:08 +05:30
package.json v1.0.0-alpha, pdf download 2025-08-24 12:01:08 +05:30
README.md v1.0.0-alpha, pdf download 2025-08-24 12:01:08 +05:30
shams.d.ts v1.0.0-alpha, pdf download 2025-08-24 12:01:08 +05:30
shams.js v1.0.0-alpha, pdf download 2025-08-24 12:01:08 +05:30
tsconfig.json v1.0.0-alpha, pdf download 2025-08-24 12:01:08 +05:30

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