https://github.com/compwright/is-lower-case
Check if a string is lower case
https://github.com/compwright/is-lower-case
nodejs string
Last synced: about 1 month ago
JSON representation
Check if a string is lower case
- Host: GitHub
- URL: https://github.com/compwright/is-lower-case
- Owner: compwright
- License: mit
- Created: 2018-09-19T17:59:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-11-18T15:04:57.000Z (4 months ago)
- Last Synced: 2025-11-18T17:09:43.710Z (4 months ago)
- Topics: nodejs, string
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@compwright/is-lower-case
- Size: 575 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# @compwright/is-lower-case
[![Build status][travis-image]][travis-url]
[](https://david-dm.org/compwright/is-lower-case)
[](https://www.npmjs.com/package/@compwright/is-lower-case)
[](https://github.com/sponsors/compwright)
Check if a string is lower case.
Forked from [blakeembrey/is-lower-case](https://github.com/blakeembrey/is-lower-case), with the following improvements:
* Removed unnecessary dependencies
* Added locale support
## Installation
```
npm install @compwright/is-lower-case --save
```
## Usage
```javascript
const isLowerCase = require('@compwright/is-lower-case')
isLowerCase('STRING') // false
isLowerCase('String') // false
isLowerCase('string') // true
// Returns undefined for non-strings
isLowerCase(null) // undefined
```
Locale support:
```javascript
isLowerCase('STRİNG', 'tr') // false
```
## Typings
Includes a [TypeScript definition](is-lower-case.d.ts).
## License
MIT
[travis-image]: https://img.shields.io/travis/compwright/is-lower-case.svg?style=flat
[travis-url]: https://travis-ci.org/compwright/is-lower-case