time-to-botec/squiggle/node_modules/@stdlib/math/base/assert/is-nanf/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

1.3 KiB

isnanf

Test if a single-precision floating-point numeric value is NaN.

Usage

var isnanf = require( '@stdlib/math/base/assert/is-nanf' );

isnanf( x )

Tests if a single-precision floating-point numeric value is NaN.

var bool = isnanf( NaN );
// returns true

Examples

var isnanf = require( '@stdlib/math/base/assert/is-nanf' );

var bool = isnanf( NaN );
// returns true

bool = isnanf( 5.0 );
// returns false