Have ideas to improve npm?Join in the discussion! »

    @compwright/is-lower-case
    TypeScript icon, indicating that this package has built-in type declarations

    2.1.1 • Public • Published

    @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

    Install

    npm i @compwright/is-lower-case

    DownloadsWeekly Downloads

    8

    Version

    2.1.1

    License

    MIT

    Unpacked Size

    3.95 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar