JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q75464F
  • License MIT

Fork of is-lower-case with added locale support

Package Exports

  • @compwright/is-lower-case

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@compwright/is-lower-case) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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