_.lowerCase([string=''])

sourcenpm package

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

Since

4.0.0

Arguments

  • [string=''] (string): The string to convert.

Returns

(string): Returns the lower cased string.

Example

  1. _.lowerCase('--Foo-Bar--');
    // => 'foo bar'
    _.lowerCase('fooBar');
    // => 'foo bar'
    _.lowerCase('__FOO_BAR__');
    // => 'foo bar'