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