src/Asserts/Categories/AssertTypeTrait.php
public static function assertIsInt($variable, Throwable $exception): bool
    {
        static::makeAssertion(\is_int($variable), $exception);
        return true;
    }
public static function assertIsInt($variable, Throwable $exception): bool
    {
        static::makeAssertion(\is_int($variable), $exception);
        return true;
    }
public static function assertIsInt ( $ variable , Throwable $ exception ) : bool { static :: makeAssertion ( \ is_int ( $ variable ) , $ exception ) ; return true ; }
Asserts that the variable is an int.

@param mixed $variable The given variable to test.
@param Throwable $exception The exception to throw if the assertion fails.
@return bool
Asserts that the variable is an int .