Category: Logical function
This function returns TRUE if the result of expression is an integer number. Otherwise, it returns FALSE.
Argument | Type | Description |
---|---|---|
expression | Expression | Any expression that could potentially result in an integer. |
Return value type: Boolean (TRUE/FALSE)
isinteger(123) //Returns TRUE
isinteger('123') //Returns FALSE
isinteger(123.45) //Returns FALSE
isinteger(100/2) //Returns TRUE