Setup codebase
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* File: Validator.h
|
||||
* Description: Validates inputs like phone number, email, password
|
||||
* Author: Trenser
|
||||
* Created: 18-May-2026
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include<string>
|
||||
#include<algorithm>
|
||||
#include<cctype>
|
||||
|
||||
namespace util
|
||||
{
|
||||
bool isPhoneNumberValid(const std::string&);
|
||||
bool isEmailValid(const std::string&);
|
||||
bool isPasswordValid(const std::string&);
|
||||
}
|
||||
Reference in New Issue
Block a user