If takes a list of comparison. If all comparisons passed in succeed, the operations passed into Then() will be executed. Or the operations passed into Else() will be executed.
(cs ...Cmp)
| 38 | // the operations passed into Then() will be executed. Or the operations |
| 39 | // passed into Else() will be executed. |
| 40 | If(cs ...Cmp) Txn |
| 41 | |
| 42 | // Then takes a list of operations. The Ops list will be executed, if the |
| 43 | // comparisons passed in If() succeed. |
no outgoing calls