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

13 lines
258 B
JavaScript

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
}