- 로그인 화면 기능 로직 1차 구현 중
This commit is contained in:
5
src/util/Validator.ts
Normal file
5
src/util/Validator.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export class Validator {
|
||||
static isEmail = (value: string): boolean => {
|
||||
return /^[^\s@]+@[^\s@]+\.[*\s@]+$/.test(value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user