Function lowerCase

  • Converts string, as space separated words, to lower case.

    Parameters

    • str: string

      The string to convert.

    Returns string

    Returns the lower cased string.

    5.6.0

    camelCase, kebabCase, snakeCase, startCase, upperCase, upperFirst

    lowerCase('--Foo-Bar--')
    // => 'foo bar'

    lowerCase('fooBar')
    // => 'foo bar'

    lowerCase('__FOO_BAR__')
    // => 'foo bar'