Is string alpha - Node.js String

Node.js examples for String:Parse

Description

Is string alpha

Demo Code

String.prototype.isAlpha = function () {
    return (this >= 'a' && this <= 'z\uffff') ||
        (this >= 'A' && this <= 'Z\uffff');
};

Related Tutorials