mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-04-25 08:32:27 +00:00
add option type comparison
This commit is contained in:
parent
c511315353
commit
aceb9d34f1
@ -4,6 +4,10 @@ service SomeS("test2"):
|
||||
getStr: ?string -> ?string
|
||||
getStr1: -> ?string
|
||||
getStr2: string -> string
|
||||
checkU32(u: ?u32)
|
||||
|
||||
func checkU32AndU8(a: ?u8):
|
||||
SomeS.checkU32(a)
|
||||
|
||||
func useOptional(opt: ?string) -> string:
|
||||
res <- SomeS.getStr(opt)
|
||||
|
Loading…
x
Reference in New Issue
Block a user