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