aqua/aqua-src/xor.aqua
2022-03-03 17:54:45 +03:00

12 lines
257 B
Plaintext

service OpR("op"):
identity: string -> string
func ifCorrectXorWrap(node: string) -> string:
service_id: *string
on node:
res <- OpR.identity("1234")
if res == "":
service_id <<- "0x"
else:
service_id <<- "1x"
<- service_id!