MCPcopy Create free account
hub / github.com/PIKACHUIM/CFWorkerACME / isValidEmail

Function isValidEmail

frontend/src/utils/crypto.ts:51–53  ·  view source on GitHub ↗
(email: string)

Source from the content-addressed store, hash-verified

49 * 邮箱简单校验
50 */
51export function isValidEmail(email: string): boolean {
52 return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email);
53}
54
55/**
56 * 邮箱 MD5(用于 Gravatar)

Callers 5

handleLoginFunction · 0.90
handleRegisterFunction · 0.90
handleResetFunction · 0.90
handleSendCodeFunction · 0.90
onSubmitFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected