Checks if a value is a positive integer starting from 0, 1, 2, 3, and so on. No decimal.
Parameters | |||
---|---|---|---|
mixed
|
$value |
The value being checked |
# |
Returns | |
---|---|
boolean
|
TRUE if the value is whole number, FALSE otherwise |