Ok, I have a case were in a var I might have either a string or a number. (contents coming from elsewhere...)
What is the best way to handle this?
Would this be a case for "try/catch", as i guess that now works? I've not used this before, so could someone show a snippet of how to handle this?
Lets say that "var value;" is either a sting or a number.
How can I tell the difference? (something like "isString()" or "isNumber()" would make this easy......)
TIA