toLower

String
since 4.0.0

Arguments

  • string The string to convert.

Returns

string the lower cased string.

Converts string, as a whole, to lower case just like String#toLowerCase.

Example of Lodash _.toLower

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

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

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