Function Reference


IsInt

Checks if a variable or expression is an integer type.

IsInt ( variable )

Parameters

variable The variable/expression to check.

Return Value

Success: Returns 1.
Failure: Returns 0 if expression is not integer.

Remarks

IsInt(7.5 - 2.5) returns 1 (meaning true).

Related

IsArray, IsFloat, IsString, IsNumber, IsBool, IsHWnd, StringIsInt, IsBinary, IsPtr, VarGetType

Example


IsInt(-12345) ;returns 1
IsInt(3.0000) ;returns 1
IsInt("5432") ;returns 0 since is a string
IsInt(7.5 - 4.5) ;returns 1 since evaluates to integer 3