mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Remove references to _.
This commit is contained in:
@@ -4,17 +4,16 @@ import createCaseFirst from './_createCaseFirst.js';
|
||||
* Converts the first character of `string` to lower case.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.0.0
|
||||
* @category String
|
||||
* @param {string} [string=''] The string to convert.
|
||||
* @returns {string} Returns the converted string.
|
||||
* @example
|
||||
*
|
||||
* _.lowerFirst('Fred');
|
||||
* lowerFirst('Fred');
|
||||
* // => 'fred'
|
||||
*
|
||||
* _.lowerFirst('FRED');
|
||||
* lowerFirst('FRED');
|
||||
* // => 'fRED'
|
||||
*/
|
||||
const lowerFirst = createCaseFirst('toLowerCase');
|
||||
|
||||
Reference in New Issue
Block a user