RulesComparisonWithBooleanOn this pageAvoid superfluous comparation against boolean literalsRemove literal boolean values from comparisons to improve readability. Noncompliant Code Example if var = true then ...if var = false then ... Compliant Solution if var then ...if not var then ...