mirror of
https://github.com/astuto/astuto.git
synced 2025-12-17 12:17:54 +01:00
5 lines
145 B
TypeScript
5 lines
145 B
TypeScript
|
|
import { EMAIL_REGEX } from "../constants/regex";
|
||
|
|
|
||
|
|
export const isValidEmail = (email: string): boolean => {
|
||
|
|
return EMAIL_REGEX.test(email);
|
||
|
|
};
|