src/Int.php
public static function extIs($value)
    {
        return static::is($value) || (is_string($value) && (strval(intval($value)) === strval($value)));
    }
public static function extIs($value)
    {
        return static::is($value) || (is_string($value) && (strval(intval($value)) === strval($value)));
    }
public static function extIs ( $ value ) { return static :: is ( $ value ) || ( is_string ( $ value ) && ( strval ( intval ( $ value ) ) === strval ( $ value ) ) ) ; }
Tests if the given value is an int or a string representation of an int.

@param mixed $value The value to test.

@return bool Returns true if the given value is an int or a representation of an int, false otherwise.
Tests if the given value is an int or a string representation of an int .