LanguageTool Community

<< return to list of rules

Rule "if which (if, which)"

This is one of many errors that LanguageTool can detect. Visit the LanguageTool homepage to use it online or download it for free.

Description: if which (if, which)
Message: One of these words is redundant, or a comma is missing.
Category: Possible Typo (ID: TYPOS)
Link: https://languagetool.org/insights/post/whether-vs-if/#when-to-use-%E2%80%9Cif%E2%80%9D
Incorrect sentences
that this rule can detect:
  • We cannot know if which functionality gets tested.
    Correction suggestion: which, if, if, which
  • If and only if which direction is which?
    Correction suggestion: which, if, if, which
Pattern: Show XML · Show in Rule Editor
Check the following text against just this rule:

ID: IF_WHICH [1]
Version: 6.5-SNAPSHOT (2024-04-25 22:33:07 +0200)