Simplify Boolean Expression
How to simplify a complex boolean expression in WebStorm.
WebStorm will warn you if a boolean expression has any unnecessary parts that can be simplified. You can then press ⌥⏎ (macOS) / Alt+Enter (Windows/Linux), and WebStorm will simplify the expression for you.