|Home | Tutorial | Classes | Functions | QSA Workbench | Language | Qt API | QSA Articles | Qt Script for Applications |

[Prev: isFinite()] [Home] [Next: killTimer()]

#### isNaN()

`isNaN( expression )`

Returns `true` if the expression's value is not a number; otherwise returns `false`.

Example:

        var x = parseFloat( "3.142" );
        var y = parseFloat( "haystack" );
        if ( isNaN( x ) ) debug( "x is not a number" );
        if ( isNaN( y ) ) debug( "y is not a number" );
        // Prints: "y is not a number"

[Prev: isFinite()] [Home] [Next: killTimer()]