import json
proc hoge(x: int): JsonNode =
if x mod 2 == 0:
return %x
return %"odd"
Run
- How can we define a function that returns a type like a Uni... mrsekut
- Re: How can we define a function that returns a type l... Araq
- Re: How can we define a function that returns a ty... juancarlospaco
- Re: How can we define a function that returns ... moerm
- Re: How can we define a function that retu... mrsekut
- Re: How can we define a function that... alehander42
- Re: How can we define a function ... mrsekut
- Re: How can we define a funct... mrsekut
- Re: How can we define a funct... moerm
- Re: How can we define a funct... mrsekut
- Re: How can we define a funct... alehander42
- Re: How can we define a funct... moerm
