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