fix: merge errors
This commit is contained in:
5
src/utils/regexes/hasUpperAndLowerLetter.ts
Normal file
5
src/utils/regexes/hasUpperAndLowerLetter.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const hasUpperAndLowerLetter = (value: string) => {
|
||||
const hasUpper = /[A-Z]/.test(value);
|
||||
const hasLower = /[a-z]/.test(value);
|
||||
return hasUpper && hasLower;
|
||||
};
|
||||
Reference in New Issue
Block a user