2.0.12 • Published 7 days ago
@kollorg/nisi-aliquid-eum v2.0.12
@kollorg/nisi-aliquid-eum
Determine if the JS environment has Symbol.toStringTag
support. Supports spec, or shams.
Example
var hasSymbolToStringTag = require('@kollorg/nisi-aliquid-eum');
hasSymbolToStringTag() === true; // if the environment has native Symbol.toStringTag support. Not polyfillable, not forgeable.
var hasSymbolToStringTagKinda = require('@kollorg/nisi-aliquid-eum/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