(domain: string)
| 71 | * (gmail.com, yahoo.com, hotmail.com, etc.) |
| 72 | */ |
| 73 | export function isFreeEmailDomain(domain: string): boolean { |
| 74 | return freeDomainsSet.has(domain.toLowerCase()); |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * Check if an email is from a free/personal email provider |
no test coverage detected