1.0.2 • Published 3 months ago

has-tostringtag v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

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

is-regexis-date-objectis-argumentsis-stringis-boolean-objectis-number-objectis-generator-functionwhich-typed-arrayarchetype-librarycomponennentteasy-select-rnreact-native-covid-sdkafryxiconsmutasi-bca@jttechnic/interpreter@saeon/quick-form@olivervorasai/sliderreact-native-printer-brothersreact-native-shekhar-bridge-testasterjscogoportutilsuncoded-connectlevibestliblevibestlib2levilibtest19levilibtest24levilibtest25levilibtest26levilibtest27levilibtest28levilibtest29wilscanner@khalitovadel/abstract-repository@oiti/documentoscopy-react-nativequoc-testreact-native-slider-kfcclibyarntest@saaspe/componentsexpand-react-bridgeopea-bootstraapluminos-ui-corelizeknushiliyahaotadiesklif-ui-kitsklif-api@everything-registry/sub-chunk-1828jawwy-sdkjawwy_gamification_release@deepakorg/test@deepak757/testreact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkgp149-tablesklif-uimachinebeemrcapsreact-native-jawwy_samplepizza-teapucuk5000projekudinproject-llllllllllliiiiproject-wajs-dvpyreswap-sdkqaapio-reecord-mp3qudratic-uiquadratic-sdkraact-native-arunramya151siniwosgbteamnewerasitexplicabosipalingerlysiralexferguson023siralexferguson03@sak1sham/react-toc-highlight@safely-project/safely-tssmart_one_connect@saad27/react-native-bottom-tab-tourslebew@parallelnft/web3modalrn-counter-demorn-check-btnrn-circular-chartrn-use-modal-hook@object-studio/react-native-web@nyaxk/react-one-tab-enforcer@nyanator/chrome-ext-utilsreyhan-projectrn-adyen-dropinrn-agora-ios-mrofiqridwangonzales84ronaldocr7vibessenggoldong@rahulkumaran/hello-rahulserde_json_mainsergiobesquest34sergekayamba92serenitymeangle21@react-18-pdf/root
1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 years ago