@technobuddha/library
Version:
A large library of useful functions
14 lines (11 loc) • 293 B
text/typescript
const re = /^(\p{Ll})+$/u;
/**
* Test a string for all lower case characters
*
* @param input string to test
* @return true, if all characters in the string are lower case
*/
export function isLowerCase(input: string): boolean {
return re.test(input);
}
export default isLowerCase;