MCPcopy Index your code
hub / github.com/Tencent/APIJSON / isAlpha

Method isAlpha

APIJSONORM/src/main/java/apijson/StringUtil.java:577–584  ·  view source on GitHub ↗

判断是否全是字母 @param s @return

(String s)

Source from the content-addressed store, hash-verified

575 * @return
576 */
577 public static boolean isAlpha(String s) {
578 if (isEmpty(s, true)) {
579 return false;
580 }
581
582 current = s;
583 return PATTERN_ALPHA.matcher(s).matches();
584 }
585 /**判断是否全是数字或字母
586 * @param s
587 * @return

Callers 1

isNumberOrAlphaMethod · 0.95

Calls 1

isEmptyMethod · 0.95

Tested by

no test coverage detected