Skip to main content

toLower

_.toLower(string) # Ⓢ [Ⓣ][1] Ⓝ

Converts string, as a whole, to lower case just like



String#toLowerCase.

Since​

4.0.0

Arguments​

  1. string (string): The string to convert.

Returns​

(string): Returns the lower cased string.

Example​

_.toLower('--Foo-Bar--');
// => '--foo-bar--'

_.toLower('fooBar');
// => 'foobar'

_.toLower('__FOO_BAR__');
// => '__foo_bar__'