isLowercase.js 149 B

12345
  1. import assertString from './util/assertString';
  2. export default function isLowercase(str) {
  3. assertString(str);
  4. return str === str.toLowerCase();
  5. }