Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 603 Bytes

File metadata and controls

17 lines (16 loc) · 603 Bytes

Boolean variables can be checked within conditionals directly without the use of equality operators to true/false. (see here)


Slide Screenshot

035.jpg


Slide Text

  • Boolean Equality -> true or false
  • Use in Conditionals if (x == true)
  • Redundant Use -> Unnecessary
  • Use Directly if(x)

References


Tags