/ c4f / front / node_modules / has-tostringtag /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]test/8 months ago -  
[TXT]CHANGELOG.md8 months ago3.5K 
[   ]LICENSE8 months ago1.0K 
[TXT]README.md8 months ago2.1K 
[TXT]index.d.ts8 months ago 70  
[   ]index.js8 months ago196  
[   ]package.json8 months ago2.8K 
[TXT]shams.d.ts8 months ago 80  
[   ]shams.js8 months ago189  
[   ]tsconfig.json8 months ago3.5K 
README.md

has-tostringtag Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Determine if the JS environment has Symbol.toStringTag support. Supports spec, or shams.

Example

var hasSymbolToStringTag = require('has-tostringtag');

hasSymbolToStringTag() === true; // if the environment has native Symbol.toStringTag support. Not polyfillable, not forgeable.

var hasSymbolToStringTagKinda = require('has-tostringtag/shams');
hasSymbolToStringTagKinda() === true; // if the environment has a Symbol.toStringTag 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