Skip to main content
Version: 3.13.0

Number.isFinite()

The Number.isFinite() method determines whether the passed value is a finite number — that is, it checks that a given value is a number, and the number is neither positive Infinity, negative Infinity, nor NaN.

Syntax

Number.isFinite(value)

Parameters

  • value
    • : The value to be tested for finiteness.

Return value

The boolean value true if the given value is a finite number. Otherwise false.