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

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: