to-lower

v4.17.11arrow_drop_down
v4.17.11
STATUS
Passing
DOWNLOADS
142
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
6 years ago
SIZE
1 KB
Converts `string`, as a whole, to lower case just like [String#toLowerCase](https://mdn.io/toLowerCase).
1 contributor
Install to-lower as a package?
Copied
npm i @bit/lodash.lodash.to-lower
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
No preview available
modifieddraft
chevron_left
chevron_right
toLower (
string:string?
) : string

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

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

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

_.toLower('__FOO_BAR__');
// => '__foo_bar__'
Argument
string: string?

The string to convert.

Returns
string

Returns the lower cased string.

Help and resources