isFinite()

eSignal EFS 2

isFinite()

Top  Previous  Next

 

isFinite( value )

 

Returns true if the value passed is a finite number.

 

Parameters

 

value

the value to be evaluated

 

Usage

 

function main() {

var myVar;

 

       ...

       ...

 

       if ( ! isFinite( myVar ) ) {

               //the variable myVar does not contain a finite number

               //so take some action

       }

 

 

}