int2bool.nim 83 B

12345678
  1. {.overflowchecks: on.}
  2. converter uglyToBool*(x: int): bool =
  3. result = x != 0