seven c79d79ff8e 3333 5 luni în urmă
..
.github c79d79ff8e 3333 5 luni în urmă
test c79d79ff8e 3333 5 luni în urmă
.eslintrc c79d79ff8e 3333 5 luni în urmă
.nycrc c79d79ff8e 3333 5 luni în urmă
CHANGELOG.md c79d79ff8e 3333 5 luni în urmă
LICENSE c79d79ff8e 3333 5 luni în urmă
README.md c79d79ff8e 3333 5 luni în urmă
index.d.ts c79d79ff8e 3333 5 luni în urmă
index.js c79d79ff8e 3333 5 luni în urmă
package.json c79d79ff8e 3333 5 luni în urmă
shams.d.ts c79d79ff8e 3333 5 luni în urmă
shams.js c79d79ff8e 3333 5 luni în urmă
tsconfig.json c79d79ff8e 3333 5 luni în urmă

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