Feature suggestion - invert ternary logic
I would like a refactoring that can transform
var thing = ! someBooleanCondition
? whenItsFalse
: whenItsTrue ;
into
var thing = someBooleanCondition
? whenItsTrue
: whenItsFalse ;
Please sign in to leave a comment.