Test if a double-precision floating-point numeric value is NaN.
var isnan = require( '@stdlib/math/base/assert/is-nan' );Tests if a double-precision floating-point numeric value is NaN.
var bool = isnan( NaN );
// returns truevar isnan = require( '@stdlib/math/base/assert/is-nan' );
var bool = isnan( NaN );
// returns true
bool = isnan( 5.0 );
// returns false@stdlib/math/base/assert/is-nanf: test if a single-precision floating-point numeric value is NaN.