MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / findIcloudAliasByEmail

Function findIcloudAliasByEmail

icloud-utils.js:163–168  ·  view source on GitHub ↗
(aliases = [], email = '')

Source from the content-addressed store, hash-verified

161 }
162
163 function findIcloudAliasByEmail(aliases = [], email = '') {
164 const normalizedEmail = String(email || '').trim().toLowerCase();
165 if (!normalizedEmail) return null;
166 return (Array.isArray(aliases) ? aliases : [])
167 .find((alias) => String(alias?.email || '').trim().toLowerCase() === normalizedEmail) || null;
168 }
169
170 return {
171 findIcloudAliasArray,

Calls

no outgoing calls

Tested by

no test coverage detected