2.1.3 • Published 3 years ago

@compwright/is-lower-case v2.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@compwright/is-lower-case

Build status Dependency Status Download Status Sponsor on GitHub

Check if a string is lower case.

Forked from blakeembrey/is-lower-case, with the following improvements:

  • Removed unnecessary dependencies
  • Added locale support

Installation

npm install @compwright/is-lower-case --save

Usage

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:

isLowerCase('STRİNG', 'tr') // false

Typings

Includes a TypeScript definition.

License

MIT

2.1.3

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.5

4 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

6 years ago