There are currently two branching constructs available: if
and switch
.
In conjunction with these, there are a number of specialized evaluatable types which return a boolean result (they implement an evaluate()
method). Refer to D. Evaluatable Types.