@kollorg/nisi-aliquid-eum

2.0.12 • Public • Published

@kollorg/nisi-aliquid-eum 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('@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

Package Sidebar

Install

npm i @kollorg/nisi-aliquid-eum

Weekly Downloads

23

Version

2.0.12

License

MIT

Unpacked Size

11.2 kB

Total Files

10

Last publish

Collaborators

  • hoangthivb41