Buckets:
215 MB
4,079 files
Updated 2 days ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| .github | 1 items | ||
| test | 4 items | ||
| .eslintrc | 164 Bytes xet | 964211dd | |
| .nycrc | 139 Bytes xet | 4fec1c2b | |
| CHANGELOG.md | 9.43 kB xet | 20f0e268 | |
| LICENSE | 1.07 kB xet | a2135664 | |
| README.md | 2.04 kB xet | 3bce1e7c | |
| index.d.ts | 73 Bytes xet | 04063ce2 | |
| index.js | 447 Bytes xet | b37e2219 | |
| package.json | 2.97 kB xet | 85bd8400 | |
| shams.d.ts | 69 Bytes xet | 2d56c615 | |
| shams.js | 1.92 kB xet | c8305a86 | |
| tsconfig.json | 143 Bytes xet | 7dac7420 |
has-symbols
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
- Total size
- 215 MB
- Files
- 4,079
- Last updated
- Aug 7
- Pre-warmed CDN
- US EU US EU
