isFinite Function

Top  Previous  Next

Determines if a value is finite.

Syntax

isFinite(value)

Arguments

valueThe value to be tested. value is converted to Number first if necessary; note that this conversion can result in NaN (not a number).

Return Value

false if value is NaN, +Infinity, or -Infinity; otherwise true.

See Also

isNaN