src/util/string.js
function isAllUpperCase (str) {
  return str
    .split("")
    .map(ch => ch.charCodeAt(0))
    .every(n => n >= 65 && n <= 90);
}
function isAllUpperCase (str) {
  return str
    .split("")
    .map(ch => ch.charCodeAt(0))
    .every(n => n >= 65 && n <= 90);
}
function isAllUpperCase ( str ) { return str . split ( "" ) . map ( ch => ch . charCodeAt ( 0 ) ) . every ( n => n >= 65 && n <= 90 ) ; }
checks if a string consists of only uppercase letters
checks if a string consists of only uppercase letters