_.lowerCase

_.lowerCase([string=''])

source npm package

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

Since

4.0.0

Arguments

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

Returns

(string): Returns the lower cased string.

Example

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