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