Returns `true` if the string is upper case only.
$ npm install is-upper-case
Returns
trueif the string is upper case only.
npm install is-upper-case --save
import { isUpperCase } from "is-upper-case";
isUpperCase("string"); //=> false
isUpperCase("dot.case"); //=> false
isUpperCase("PascalCase"); //=> false
isUpperCase("CONSTANT_CASE"); //=> true
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE