MCPcopy 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 */
22export function validateVerificationCode(code) {
23 return /^\d{6}$/.test(code);
24}
25
26/**
27 * 复制到剪贴板

Callers 1

verifyCodeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected