Home
last modified time | relevance | path

Searched refs:isAlpha (Results 1 – 2 of 2) sorted by relevance

/development/tools/winscope/src/common/
Dstring_utils.ts58 if (!StringUtils.isAlpha(token[0])) {
67 static isAlpha(char: string): boolean { method in StringUtils
79 return StringUtils.isAlpha(char) && char === char.toLowerCase();
84 return StringUtils.isAlpha(char) && char === char.toUpperCase();
100 if (!StringUtils.isAlpha(word[0])) {
Dstring_utils_test.ts147 expect(StringUtils.isAlpha('a')).toBeTrue();
148 expect(StringUtils.isAlpha('A')).toBeTrue();
149 expect(StringUtils.isAlpha('_')).toBeFalse();
150 expect(StringUtils.isAlpha('0')).toBeFalse();
151 expect(StringUtils.isAlpha('9')).toBeFalse();