@khashi/stringer
Version:
Convert your string
1 lines • 307 B
JavaScript
function isUpperCase(r){if("string"!=typeof r)throw new TypeError("stringer wants a string!");return r===r.toUpperCase()}function isLowerCase(r){if("string"!=typeof r)throw new TypeError("stringer wants a string!");return r===r.toLowerCase()}module.exports={isUpperCase:isUpperCase,isLowerCase:isLowerCase};