Represents a branching execution structure that allows conditional logic
based on a value of type T. The then method specifies the action to
perform if the condition is true, and the else method specifies the
action to perform if the condition is false.
Represents a branching execution structure that allows conditional logic based on a value of type
T. Thethenmethod specifies the action to perform if the condition is true, and theelsemethod specifies the action to perform if the condition is false.