is-lower-case.js 258 B

123456789101112
  1. var lowerCase = require('lower-case')
  2. /**
  3. * Check if a string is lower case.
  4. *
  5. * @param {String} string
  6. * @param {String} [locale]
  7. * @return {Boolean}
  8. */
  9. module.exports = function (string, locale) {
  10. return lowerCase(string, locale) === string
  11. }