Like any other expression, the return value of an if...else expression can be ignored (and hence discarded). This is generally only useful when the body of the expression has side effects, such as writing to a file, mutating variables, or printing to the screen.
Furthermore, the else branch of an i...