I've seen you guys use something like:

if var is vbnum or if isvbnum(var), or something.

Basically, what was the function to determine if something is a string or variable or something?