Skip to content

Instantly share code, notes, and snippets.

const getCollabId = (email) => {
email = email.trim().toLowerCase()
let collabs = base.activeCollaborators
for(let collab of collabs){
if(collab.email.toLowerCase() === email){
return collab.id
}
}
return null
}