toLower source npm

_.toLower([string=''])

Converts string, as a whole, to lower case.

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__'