Riven/riven/srcgen/node_modules/is-upper-case/is-upper-case.js
Mingwei Samuel 74eb5fa045 Update example proxy for v2, use workspaces.
- `example/proxy` is new folder for `example_proxy`.
- `riven` is new folder for the main riven lib.
- Updated metadata to be an array and include HTTP method.
2021-09-09 14:31:39 -07:00

12 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
}