About Lesson
If Symbol
The If symbol checks the provided boolean expression and branches to the True or False branch depending on whether the condition is met or not.
This symbol is also known as the branching symbol. The If symbol is a diamond shape with two branches.
- True branch
- False branch
Specify the condition ( conditional expression ) in the diamond block. The True branch is executed when the condition is met, and the False branch is executed when it is not.