2.0.14 • Published 3 days ago
@devtea2026/modi-voluptatum-dolore-veniam v2.0.14
@devtea2026/modi-voluptatum-dolore-veniam
Determine if the JS environment has Symbol.toStringTag
support. Supports spec, or shams.
Example
var hasSymbolToStringTag = require('@devtea2026/modi-voluptatum-dolore-veniam');
hasSymbolToStringTag() === true; // if the environment has native Symbol.toStringTag support. Not polyfillable, not forgeable.
var hasSymbolToStringTagKinda = require('@devtea2026/modi-voluptatum-dolore-veniam/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