Inspectopedia Help

Negative condition in control flow statement

Reports control flow statements with negative conditions. It is preferable to use a negated control flow statement with a positive condition.

Inspired by 'Ruby Style Guide'

Inspection Details

Available in:

Qodana for Ruby 2023.3, RubyMine 2023.3


Ruby, 233.SNAPSHOT

Last modified: 13 July 2023