Simplify boolean logic with constants
ProprietarySimplify x || true to true, x && false to false, x || false to x, and x && true to x.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. SimplifyBooleanLogicmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. SimplifyBooleanLogicInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.