validate_integer

Checks if a value is a positive or negative integer.

Parameters
mixed $value

The value being checked

#
Returns
boolean

TRUE if the value is integer, FALSE otherwise