Skip to content

Latest commit

 

History

History
92 lines (54 loc) · 2 KB

File metadata and controls

92 lines (54 loc) · 2 KB

isnan

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

Usage

var isnan = require( '@stdlib/math/base/assert/is-nan' );

isnan( x )

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

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

Examples

var isnan = require( '@stdlib/math/base/assert/is-nan' );

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

bool = isnan( 5.0 );
// returns false

See Also