text-is-upper-case
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Is Upper Case

NPM version NPM downloads Bundle size

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

Package Sidebar

Install

npm i text-is-upper-case

Weekly Downloads

2,104

Version

1.0.2

License

MIT

Unpacked Size

4.93 kB

Total Files

7

Last publish

Collaborators

  • dimetrix