MCPcopy Index your code
hub / github.com/authorizerdev/authorizer / IsValidEmail

Function IsValidEmail

internal/validators/email.go:6–9  ·  view source on GitHub ↗

IsValidEmail validates email

(email string)

Source from the content-addressed store, hash-verified

4
5// IsValidEmail validates email
6func IsValidEmail(email string) bool {
7 _, err := mail.ParseAddress(email)
8 return err == nil
9}

Callers 6

InviteMembersMethod · 0.92
ResendVerifyEmailMethod · 0.92
UpdateUserMethod · 0.92
MagicLinkLoginMethod · 0.92
SignUpMethod · 0.92
UpdateProfileMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected