ligo/src/test/contracts/condition.religo
2019-12-10 13:47:31 +00:00

9 lines
108 B
Plaintext

/* Test conditional in ReasonLIGO */
let main = (i: int) =>
if (i == 2) {
42;
} else {
0;
};