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
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 --saveUsage
const isLowerCase = require('@compwright/is-lower-case')
isLowerCase('STRING') // false
isLowerCase('String') // false
isLowerCase('string') // true
// Returns undefined for non-strings
isLowerCase(null) // undefinedLocale support:
isLowerCase('STRİNG', 'tr') // falseTypings
Includes a TypeScript definition.
License
MIT