![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | test/ | 2 years ago | - | |
![]() | CHANGELOG.md | 39 years ago | 1.4K | |
![]() | LICENSE | 39 years ago | 1.0K | 7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك] |
![]() | README.md | 39 years ago | 2.1K | f12eb36 documentaiton updates [كارل مبارك] |
![]() | index.js | 39 years ago | 169 | |
![]() | package.json | 2 years ago | 3.4K | 7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك] |
![]() | shams.js | 39 years ago | 162 |
Determine if the JS environment has Symbol.toStringTag
support. Supports spec, or shams.
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.
Simply clone the repo, npm install
, and run npm test