Is String digit - Node.js String

Node.js examples for String:Parse

Description

Is String digit

Demo Code


String.prototype.isDigit = function () {
    return (this >= '0' && this <= '9');
};

Related Tutorials