Riven/riven/srcgen/node_modules/is-lower-case/is-lower-case.js

13 lines
258 B
JavaScript

var lowerCase = require('lower-case')
/**
* Check if a string is lower case.
*
* @param {String} string
* @param {String} [locale]
* @return {Boolean}
*/
module.exports = function (string, locale) {
return lowerCase(string, locale) === string
}