Share via


isFinite Method

Returns a Boolean value that indicates if a supplied number is finite.

function isFinite(number : Number) : Boolean

Arguments

  • number
    Required. A numeric value.

Remarks

The isFinite method returns true if number is any value other than NaN, negative infinity, or positive infinity. In those three cases, it returns false.

Requirements

Version 3

Applies To:

Global Object

See Also

Reference

isNaN Method

NaN Property

POSITIVE_INFINITY Property

NEGATIVE_INFINITY Property