# Symbol Support
> Detect native [`Symbol`][mdn-symbol] support.
## Usage
```javascript
var hasSymbolSupport = require( '@stdlib/assert/has-symbol-support' );
```
#### hasSymbolSupport()
Detects if a runtime environment supports ES2015 [`Symbol`][mdn-symbol].
```javascript
var bool = hasSymbolSupport();
// returns
```
## Examples
```javascript
var hasSymbolSupport = require( '@stdlib/assert/has-symbol-support' );
var bool = hasSymbolSupport();
if ( bool ) {
console.log( 'Environment has Symbol support.' );
} else {
console.log( 'Environment lacks Symbol support.' );
}
```
* * *
## CLI
### Usage
```text
Usage: has-symbol-support [options]
Options:
-h, --help Print this message.
-V, --version Print the package version.
```
### Examples
```bash
$ has-symbol-support
```
[mdn-symbol]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol