Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/Tencent/APIJSON
/ isVerify
Method
isVerify
APIJSONORM/src/main/java/apijson/StringUtil.java:558–560 ·
view source on GitHub ↗
判断是否全是验证码 @param s @return
(String s)
Source
from the content-addressed store, hash-verified
556
* @
return
557
*/
558
public
static
boolean isVerify(String s) {
559
return
length(s, false) >= 4 && isNumber(s);
560
}
561
/**判断是否全是数字
562
* @param s
563
* @
return
Callers
nothing calls this directly
Calls
2
length
Method · 0.95
isNumber
Method · 0.95
Tested by
no test coverage detected