JavaScript Number Methods

The isFinite() method returns false if the argument is Infinity or NaN.

Otherwise it returns true.