helpyourneighbour/node_modules/has-tostringtag
BibaBot c294e2e9ae
Some checks are pending
Docker Test / test (push) Waiting to run
Add unit tests for role middleware
2026-03-17 07:07:36 +00:00
..
.github Add unit tests for role middleware 2026-03-17 07:07:36 +00:00
test Add unit tests for role middleware 2026-03-17 07:07:36 +00:00
.eslintrc Add unit tests for role middleware 2026-03-17 07:07:36 +00:00
.nycrc Add unit tests for role middleware 2026-03-17 07:07:36 +00:00
CHANGELOG.md Add unit tests for role middleware 2026-03-17 07:07:36 +00:00
index.d.ts Add unit tests for role middleware 2026-03-17 07:07:36 +00:00
index.js Add unit tests for role middleware 2026-03-17 07:07:36 +00:00
LICENSE Add unit tests for role middleware 2026-03-17 07:07:36 +00:00
package.json Add unit tests for role middleware 2026-03-17 07:07:36 +00:00
README.md Add unit tests for role middleware 2026-03-17 07:07:36 +00:00
shams.d.ts Add unit tests for role middleware 2026-03-17 07:07:36 +00:00
shams.js Add unit tests for role middleware 2026-03-17 07:07:36 +00:00
tsconfig.json Add unit tests for role middleware 2026-03-17 07:07:36 +00:00

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