Float64Array Support

Detect native Float64Array support.

Usage

var hasFloat64ArraySupport = require( '@stdlib/assert/has-float64array-support' );

hasFloat64ArraySupport()

Detects if a runtime environment supports Float64Array.

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

Examples

var hasFloat64ArraySupport = require( '@stdlib/assert/has-float64array-support' );

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

CLI

Usage

Usage: has-float64array-support [options]

Options:

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

Examples

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