isAlphabet

isAlphabet
(
string s
)

Return Value

Type: auto

true if all characters in a string are alphabets, uppercase, lowercase, or both

Examples

assert("aBcDEf".isAlphabet == true);
assert("ABCd_".isAlphabet == false);
assert("ABC12".isAlphabet == false);

Meta