42 lines
1.1 KiB
Markdown
42 lines
1.1 KiB
Markdown
|
# Is Upper Case
|
||
|
|
||
|
[![NPM version][npm-image]][npm-url]
|
||
|
[![NPM downloads][downloads-image]][downloads-url]
|
||
|
[![Build status][travis-image]][travis-url]
|
||
|
[![Test coverage][coveralls-image]][coveralls-url]
|
||
|
|
||
|
Check if a string is upper case.
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
```
|
||
|
npm install is-upper-case --save
|
||
|
```
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```js
|
||
|
var isUpperCase = require('is-upper-case')
|
||
|
|
||
|
isUpperCase('STRING') //=> true
|
||
|
isUpperCase('String') //=> false
|
||
|
isUpperCase('string') //=> false
|
||
|
```
|
||
|
|
||
|
## Typings
|
||
|
|
||
|
Includes a [TypeScript definition](is-upper-case.d.ts).
|
||
|
|
||
|
## License
|
||
|
|
||
|
MIT
|
||
|
|
||
|
[npm-image]: https://img.shields.io/npm/v/is-upper-case.svg?style=flat
|
||
|
[npm-url]: https://npmjs.org/package/is-upper-case
|
||
|
[downloads-image]: https://img.shields.io/npm/dm/is-upper-case.svg?style=flat
|
||
|
[downloads-url]: https://npmjs.org/package/is-upper-case
|
||
|
[travis-image]: https://img.shields.io/travis/blakeembrey/is-upper-case.svg?style=flat
|
||
|
[travis-url]: https://travis-ci.org/blakeembrey/is-upper-case
|
||
|
[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/is-upper-case.svg?style=flat
|
||
|
[coveralls-url]: https://coveralls.io/r/blakeembrey/is-upper-case?branch=master
|