The function is_integer() checks whether the type of a variable is integer. This function is an alias of is_int().
bool is_integer ( mixed $value )
Sr.No | Parameter & Description |
---|---|
1 |
value The variable whose type is being evaluated. |
This function returns true if value is an int, false otherwise.