Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

to-lower

v4.17.11arrow_drop_down
v4.17.11
STATUS
Passing
DOWNLOADS
13
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
8 months ago
SIZE
1 KB
Converts `string`, as a whole, to lower case just like [String#toLowerCase](https://mdn.io/toLowerCase).
1 contributor
Use to-lower in your project ?
Copied
npm i @bit/lodash.lodash.to-lower
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
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';
revert changes
reload
toggle layout
maximize
toLower("--Foo-Bar--");
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.