Atom

math.isnan()

Tests for NaN.

Signature

math.isnan(x)

Parameters

One number.

Returns

Boolean.

Behavior

Uses floating classification.

Errors

Requires a number.

Example

Atom
use math
assert(math.isnan(math.nan))