GitHub 6521★

Check if a string is lower case

JavaScript version

const isLowerCase = (str) => str === str.toLowerCase();

TypeScript version

const isLowerCase = (str: string): boolean => str === str.toLowerCase();
Follow me on and to get more useful contents.