This website requires JavaScript.
Explore
Help
Sign In
AleoHQ
/
leo
Watch
1
Star
1
Fork
0
You've already forked leo
mirror of
https://github.com/AleoHQ/leo.git
synced
2024-12-22 00:51:33 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
1b6a2b55d4
leo
/
compiler
/
tests
/
integers
/
u64
/
ternary.leo
3 lines
73 B
Plaintext
Raw
Normal View
History
Unescape
Escape
test u8, u16, u32, u64
2020-06-06 02:35:50 +03:00
function main(b: bool, x: u64, y: u64) -> u64 {
fix indents
2020-07-17 22:59:18 +03:00
return if b ? x : y
test u8, u16, u32, u64
2020-06-06 02:35:50 +03:00
}
Reference in New Issue
Copy Permalink