Type guard to check if a PromiseSettledResult is rejected
The Promise result to check
True if the result is rejected, narrows type to PromiseRejectedResult
Type guard to check if a PromiseSettledResult is rejected