zheng 4ebf6326a2 正则 hace 6 horas
..
.github 4ebf6326a2 正则 hace 6 horas
test 4ebf6326a2 正则 hace 6 horas
.eslintrc 4ebf6326a2 正则 hace 6 horas
.nycrc 4ebf6326a2 正则 hace 6 horas
CHANGELOG.md 4ebf6326a2 正则 hace 6 horas
LICENSE 4ebf6326a2 正则 hace 6 horas
README.md 4ebf6326a2 正则 hace 6 horas
index.d.ts 4ebf6326a2 正则 hace 6 horas
index.js 4ebf6326a2 正则 hace 6 horas
package.json 4ebf6326a2 正则 hace 6 horas
shams.d.ts 4ebf6326a2 正则 hace 6 horas
shams.js 4ebf6326a2 正则 hace 6 horas
tsconfig.json 4ebf6326a2 正则 hace 6 horas

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