Error Identifiers: booleanOr.*

Menu

← Back to all error identifiers

There are 9 error identifiers in the booleanOr.* group:

  • Result of || is always false.

  • Result of || is always true.

  • Left side of || always evaluates to false, making it redundant.

  • Left side of || always evaluates to true, so the right side is never evaluated.

  • Left side of || is not a boolean value.

  • Result of the || operator is not used.

  • Right side of || always evaluates to false, making it redundant.

  • Right side of || always evaluates to true, making the whole expression always true.

  • Right side of || is not a boolean value.