|
||
---|---|---|
.. | ||
bin | ||
docs | ||
etc | ||
lib | ||
package.json | ||
README.md |
DataView Support
Detect native
DataView
support.
Usage
var hasDataViewSupport = require( '@stdlib/assert/has-dataview-support' );
hasDataViewSupport()
Detects if a runtime environment supports DataView
.
var bool = hasDataViewSupport();
// returns <boolean>
Examples
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
Usage: has-dataview-support [options]
Options:
-h, --help Print this message.
-V, --version Print the package version.
Examples
$ has-dataview-support
<boolean>