Remove Unnecessary Condition
Use quick intentions to remove redundant code so it's not cluttering up your codebase.
00:00
00:10
You can use ⌥⏎ (macOS) / Alt+Enter (Windows/Linux), to show context actions for redundant condition statements. You can then remove the redundant code.