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