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