forked from mirror/Riven
1
0
Fork 0
Riven/riven/srcgen/node_modules/is-upper-case/is-upper-case.js

13 lines
258 B
JavaScript
Raw Normal View History

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