(state, email)
| 1110 | } |
| 1111 | |
| 1112 | function isAliasPreserved(state, email) { |
| 1113 | const normalizedEmail = String(email || '').trim().toLowerCase(); |
| 1114 | if (!normalizedEmail) return false; |
| 1115 | return Boolean(getPreservedAliasMap(state)[normalizedEmail]); |
| 1116 | } |
| 1117 | |
| 1118 | function getEffectiveUsedEmails(state) { |
| 1119 | return toNormalizedEmailSet(getManualAliasUsageMap(state)); |
no test coverage detected