Replace booleanExpression ? false : true with !booleanExpression
MSALReplace ternary expressions like booleanExpression ? false : true with !booleanExpression.
org. openrewrite. staticanalysis. SimplifyTernaryRecipes$SimplifyTernaryFalseTrueRecipemod run . --recipe= 'org. openrewrite. staticanalysis. SimplifyTernaryRecipes$SimplifyTernaryFalseTrueRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.