Feature suggestion - invert ternary logic

I would like a refactoring that can transform 

 

var thing = ! someBooleanCondition 

                 ? whenItsFalse 

                 :  whenItsTrue ;

into 

 

var thing =  someBooleanCondition

                 ? whenItsTrue 

                 :  whenItsFalse ;

 

0

Please sign in to leave a comment.