Last change
on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
470 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | var createCaseFirst = require('./_createCaseFirst');
|
---|
| 2 |
|
---|
| 3 | /**
|
---|
| 4 | * Converts the first character of `string` to lower case.
|
---|
| 5 | *
|
---|
| 6 | * @static
|
---|
| 7 | * @memberOf _
|
---|
| 8 | * @since 4.0.0
|
---|
| 9 | * @category String
|
---|
| 10 | * @param {string} [string=''] The string to convert.
|
---|
| 11 | * @returns {string} Returns the converted string.
|
---|
| 12 | * @example
|
---|
| 13 | *
|
---|
| 14 | * _.lowerFirst('Fred');
|
---|
| 15 | * // => 'fred'
|
---|
| 16 | *
|
---|
| 17 | * _.lowerFirst('FRED');
|
---|
| 18 | * // => 'fRED'
|
---|
| 19 | */
|
---|
| 20 | var lowerFirst = createCaseFirst('toLowerCase');
|
---|
| 21 |
|
---|
| 22 | module.exports = lowerFirst;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.