Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 340 Bytes

bool-literal-in-expr.md

File metadata and controls

11 lines (6 loc) · 340 Bytes

Pattern: Use of boolean literal in logic expression

Issue: -

Description

Using Boolean literals (true, false) in logic expressions may make the code less readable. This rule suggests removing Boolean literals from logic expressions.

Further Reading