Global.String.prototype.isNumeric ()
function returns true if the string contains only 0-9

  • Returns
    Boolean true in case string is numeric, false otherwise
Sourcecode in /home/hannes/helma/modules/core/String.js:
281:   String.prototype.isNumeric = function() {
282:       if (!this.length)
283:           return false;
284:       return !String.NUMPATTERN.test(this);
285:   }