2
0
Files
2024-08-09 00:39:27 +02:00

2 lines
80 B
TypeScript

export const isEmail = (str: string) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(str);