BigUint64Array Support

Detect native BigUint64Array support.

Usage

var hasBigUint64ArraySupport = require( '@stdlib/assert/has-biguint64array-support' );

hasBigUint64ArraySupport()

Detects if a runtime environment supports BigUint64Array.

var bool = hasBigUint64ArraySupport();
// returns <boolean>

Examples

var hasBigUint64ArraySupport = require( '@stdlib/assert/has-biguint64array-support' );

var bool = hasBigUint64ArraySupport();
if ( bool ) {
    console.log( 'Environment has BigUint64Array support.' );
} else {
    console.log( 'Environment lacks BigUint64Array support.' );
}

CLI

Usage

Usage: has-biguint64array-support [options]

Options:

  -h,    --help                Print this message.
  -V,    --version             Print the package version.

Examples

$ has-biguint64array-support
<boolean>
Did you find this page helpful?