Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diyhi/bbs
/ isNumber
Method
isNumber
src/main/java/cms/utils/Verification.java:121–126 ·
view source on GitHub ↗
校验数字类型 @param param 参数 @return
(String param)
Source
from the content-addressed store, hash-verified
119
* @
return
120
*/
121
public
static
boolean isNumber(String param){
122
if
(STR_NUM.matcher(param).matches()) {
123
return
true;
124
}
125
return
false;
126
}
127
128
129
Callers
nothing calls this directly
Calls
1
matches
Method · 0.65
Tested by
no test coverage detected