How can you check whether a string is convertible to an int?
Lets say we have data like "House", "50", "Dog", "45.99", I want to know whether I should just use the string or use the parsed int value instead.
In Javascript we had this parseInt() function, if the string couldn't be parsed, it would get back NaN.