If/Else

Introduction

If/Else clauses are made of a function predicate and an if/else expression. They work similar as ternary operators except else clauses are optional.

To use them, add an indentation level and the keyword : followed by a space and the function name.

Example If

10

Example If/else

50

Example nested If/else

15