AK-21/Graphite-Industrial-Intelligence
0
1# has-symbols <sup>[![Version Badge][2]][1]</sup>2 3[![github actions][actions-image]][actions-url]4[![coverage][codecov-image]][codecov-url]5[![dependency status][5]][6]6[![dev dependency status][7]][8]7[![License][license-image]][license-url]8[![Downloads][downloads-image]][downloads-url]9 10[![npm badge][11]][1]11 12Determine if the JS environment has Symbol support. Supports spec, or shams.13 14## Example15 16```js17var hasSymbols = require('has-symbols');18 19hasSymbols() === true; // if the environment has native Symbol support. Not polyfillable, not forgeable.20 21var hasSymbolsKinda = require('has-symbols/shams');22hasSymbolsKinda() === true; // if the environment has a Symbol sham that mostly follows the spec.23```24 25## Supported Symbol shams26 - get-own-property-symbols [npm](https://www.npmjs.com/package/get-own-property-symbols) | [github](https://github.com/WebReflection/get-own-property-symbols)27 - core-js [npm](https://www.npmjs.com/package/core-js) | [github](https://github.com/zloirock/core-js)28 29## Tests30Simply clone the repo, `npm install`, and run `npm test`31 32[1]: https://npmjs.org/package/has-symbols33[2]: https://versionbadg.es/inspect-js/has-symbols.svg34[5]: https://david-dm.org/inspect-js/has-symbols.svg35[6]: https://david-dm.org/inspect-js/has-symbols36[7]: https://david-dm.org/inspect-js/has-symbols/dev-status.svg37[8]: https://david-dm.org/inspect-js/has-symbols#info=devDependencies38[11]: https://nodei.co/npm/has-symbols.png?downloads=true&stars=true39[license-image]: https://img.shields.io/npm/l/has-symbols.svg40[license-url]: LICENSE41[downloads-image]: https://img.shields.io/npm/dm/has-symbols.svg42[downloads-url]: https://npm-stat.com/charts.html?package=has-symbols43[codecov-image]: https://codecov.io/gh/inspect-js/has-symbols/branch/main/graphs/badge.svg44[codecov-url]: https://app.codecov.io/gh/inspect-js/has-symbols/45[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/has-symbols46[actions-url]: https://github.com/inspect-js/has-symbols/actions47 