This package has been deprecated

Author message:

Use `input.toUpperCase() === input`

is-upper-case
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/is-upper-case package

3.0.0 • Public • Published

Is Upper Case

Returns true if the string is upper case only.

Installation

npm install is-upper-case --save

Usage

import { isUpperCase } from "is-upper-case";

isUpperCase("string"); //=> false
isUpperCase("dot.case"); //=> false
isUpperCase("PascalCase"); //=> false
isUpperCase("CONSTANT_CASE"); //=> true

License

MIT

Package Sidebar

Install

npm i is-upper-case

Weekly Downloads

4,363,109

Version

3.0.0

License

MIT

Unpacked Size

2.35 kB

Total Files

5

Last publish

Collaborators

  • blakeembrey