export function emailIsValid(email: string) { return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email) }