I\'m hoping there\'s something in the same conceptual space as the old VB6 IsNumeric() function?
IsNumeric()
PFB the working solution:
function(check){ check = check + ""; var isNumber = check.trim().length>0? !isNaN(check):false; return isNumber; }