Inspectopedia
 
2024.3

Equality check can be used instead of elvis for nullable boolean check

Info
New
Last modified: 03 December 2024

Reports cases when an equality check should be used instead of the elvis operator.

Example:

After the quick-fix is applied: