Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Silentely/eSIM-Tools
/ validateVerificationCode
Function
validateVerificationCode
src/simyo/js/modules/utils.js:22–24 ·
view source on GitHub ↗
(code)
Source
from the content-addressed store, hash-verified
20
* @returns {boolean} 是否有效
21
*/
22
export
function
validateVerificationCode(code) {
23
return
/^\d{6}$/.test(code);
24
}
25
26
/**
27
* 复制到剪贴板
Callers
1
verifyCode
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected