Create a new If expression.
When this If expression is executed, the condition will be evaluated, and if it produces a true value, thenBranch will be executed and used as the return value for this expression. Otherwise, elseBranch will be executed and used as the return value, if it is provided.
The condition to check. Must evaluate to uint64.
Expression to evaluate if the condition is true.
Expression to evaluate if the condition is false. Must evaluate to the same type as thenBranch, if provided. Defaults to None.
Generated using TypeDoc
Simple two-way conditional expression.