mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-22 09:01:35 +03:00
12 lines
139 B
Plaintext
12 lines
139 B
Plaintext
function main(bit: u32) -> u32 {
|
|
let mut a = 5u32;
|
|
|
|
if bit == 1 {
|
|
a = 1;
|
|
} else {
|
|
a = 0;
|
|
}
|
|
|
|
return a
|
|
}
|