text-is-upper-case
v1.0.2
Published
Returns `true` if text is upper case only.
Downloads
10,395
Maintainers
Readme
Is Upper Case
Returns
true
if text is upper case only.
Installation
npm install text-is-upper-case --save
Usage
import { isUpperCase } from "text-is-upper-case";
isUpperCase("string"); //=> false
isUpperCase("dot.case"); //=> false
isUpperCase("PascalCase"); //=> false
isUpperCase("camelCase"); //=> false
isUpperCase("CONSTANT_CASE"); //=> true
License
MIT