Remove Unnecessary Condition
Use quick intentions to remove redundant code
You can use ⌥⏎ (macOS), or Alt+Enter (Windows/Linux), to show context actions for redundant condition statements. You can then remove the redundant code.
You can use ⌥⏎ (macOS), or Alt+Enter (Windows/Linux), to show context actions for redundant condition statements. You can then remove the redundant code.