time-to-botec/js/node_modules/@stdlib/assert/has-float64array-support/README.md
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

2.0 KiB

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>