mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Bump to v4.0.0.
This commit is contained in:
21
lowerFirst.js
Normal file
21
lowerFirst.js
Normal file
@@ -0,0 +1,21 @@
|
||||
import createCaseFirst from './internal/createCaseFirst';
|
||||
|
||||
/**
|
||||
* Converts the first character of `string` to lower case.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @category String
|
||||
* @param {string} [string=''] The string to convert.
|
||||
* @returns {string} Returns the converted string.
|
||||
* @example
|
||||
*
|
||||
* _.lowerFirst('Fred');
|
||||
* // => 'fred'
|
||||
*
|
||||
* _.lowerFirst('FRED');
|
||||
* // => 'fRED'
|
||||
*/
|
||||
var lowerFirst = createCaseFirst('toLowerCase');
|
||||
|
||||
export default lowerFirst;
|
||||
Reference in New Issue
Block a user