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