DevYK 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
..
.github 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
test 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
.eslintrc 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
CHANGELOG.md 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
LICENSE 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
README.md 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
index.js 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
package.json 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
shams.js 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos

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