MCPcopy Create free account
hub / github.com/pollinations/pollinations / normalizeEmail

Function normalizeEmail

shared/auth/api-key.ts:95–98  ·  view source on GitHub ↗
(value: string | null | undefined)

Source from the content-addressed store, hash-verified

93}
94
95function normalizeEmail(value: string | null | undefined): string | null {
96 const normalized = value?.trim().toLowerCase();
97 return normalized?.includes("@") ? normalized : null;
98}
99
100type VerifyApiKeyResponse = {
101 valid: boolean;

Callers 2

assertStagingAccessFunction · 0.85
parseEmailListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected