bifocal/node_modules/@stdlib/math-base-assert-is-nan/docs/repl.txt

25 lines
392 B
Plaintext

{{alias}}( x )
Tests if a double-precision floating-point numeric value is `NaN`.
Parameters
----------
x: number
Value to test.
Returns
-------
bool: boolean
Boolean indicating whether the value is `NaN`.
Examples
--------
> var bool = {{alias}}( NaN )
true
> bool = {{alias}}( 7.0 )
false
See Also
--------