GT2/GT2-iOS/node_modules/is-lower-case/is-lower-case.js

13 lines
258 B
JavaScript
Raw Normal View History

2018-02-12 17:26:06 +00:00
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
}