src/Asserts/Categories/AssertTypeTrait.php
public static function assertIsNotTypeOf(array $types, $variable, Throwable $exception): bool
    {
        static::makeAssertion(!\in_array(\gettype($variable), $types, true), $exception);
        return true;
    }
public static function assertIsNotTypeOf(array $types, $variable, Throwable $exception): bool
    {
        static::makeAssertion(!\in_array(\gettype($variable), $types, true), $exception);
        return true;
    }
public static function assertIsNotTypeOf ( array $ types , $ variable , Throwable $ exception ) : bool { static :: makeAssertion ( ! \ in_array ( \ gettype ( $ variable ) , $ types , true ) , $ exception ) ; return true ; }
Asserts that the variable is not one of the given types.

@param array $types The given types.
@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 not one of the given types .