# Async Iterator Symbol Support > Detect native [`Symbol.asyncIterator`][mdn-symbol] support.
## Usage ```javascript var hasAsyncIteratorSymbolSupport = require( '@stdlib/assert/has-async-iterator-symbol-support' ); ``` #### hasAsyncIteratorSymbolSupport() Detects if a runtime environment supports ES2018 [`Symbol.asyncIterator`][mdn-symbol]. ```javascript var bool = hasAsyncIteratorSymbolSupport(); // returns ```
## Examples ```javascript var hasAsyncIteratorSymbolSupport = require( '@stdlib/assert/has-async-iterator-symbol-support' ); var bool = hasAsyncIteratorSymbolSupport(); if ( bool ) { console.log( 'Environment has Symbol.asyncIterator support.' ); } else { console.log( 'Environment lacks Symbol.asyncIterator support.' ); } ```
* * *
## CLI
### Usage ```text Usage: has-async-iterator-symbol-support [options] Options: -h, --help Print this message. -V, --version Print the package version. ```
### Examples ```bash $ has-async-iterator-symbol-support ```