Float64Array Support

Detect native Float64Array support.

Usage

var hasFloat64ArraySupport = require( '@stdlib/utils/detect-float64array-support' );

hasFloat64ArraySupport()

Detects if a runtime environment supports Float64Array.

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

Examples

var hasFloat64ArraySupport = require( '@stdlib/utils/detect-float64array-support' );

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

CLI

Usage

Usage: hasfloat64arrays [options]

Options:

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

Examples

$ hasfloat64arrays
<boolean>