/ etherpad / src / plugin_packages / has-symbols /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]test/4 days ago -  
[TXT]CHANGELOG.md39 years ago9.2K 
[   ]LICENSE39 years ago1.0K 
[TXT]README.md39 years ago2.0K 
[TXT]index.d.ts39 years ago 73  
[   ]index.js39 years ago447  
[   ]package.json39 years ago2.9K 
[TXT]shams.d.ts39 years ago 69  
[   ]shams.js39 years ago1.9K 
[   ]tsconfig.json39 years ago143  
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

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80