Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lowerCase

Index

References

Functions String

References

Renames and re-exports __type

String Functions

  • lowerCase(str: string): string
  • Converts string, as space separated words, to lower case.

    since

    5.6.0

    see

    camelCase, kebabCase, snakeCase, startCase, upperCase, upperFirst

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

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

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

    Parameters

    • str: string

      The string to convert.

    Returns string

    Returns the lower cased string.