Stephen Huntley - 2011-12-01

Here's a one-liner:

proc isInt {n} {expr ![catch {format %x $n}]}