LanguageTool Community

<< return to list of rules

Rule "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
Message: which should not follow if. Choose either one. Or did you forget a comma?
Category: Possible Typo (ID: TYPOS)
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: 4.8-SNAPSHOT (2019-10-17 20:30)