Files
Nim/tests/rodfiles/int2bool.nim

9 lines
100 B
Nim

{.overflowchecks: on.}
converter uglyToBool*(x: int): bool =
{.Breakpoint.}
result = x != 0