mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Remove references to _.
This commit is contained in:
@@ -4,20 +4,19 @@ import createCompounder from './_createCompounder.js';
|
||||
* Converts `string`, as space separated words, to upper case.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.0.0
|
||||
* @category String
|
||||
* @param {string} [string=''] The string to convert.
|
||||
* @returns {string} Returns the upper cased string.
|
||||
* @example
|
||||
*
|
||||
* _.upperCase('--foo-bar');
|
||||
* upperCase('--foo-bar');
|
||||
* // => 'FOO BAR'
|
||||
*
|
||||
* _.upperCase('fooBar');
|
||||
* upperCase('fooBar');
|
||||
* // => 'FOO BAR'
|
||||
*
|
||||
* _.upperCase('__foo_bar__');
|
||||
* upperCase('__foo_bar__');
|
||||
* // => 'FOO BAR'
|
||||
*/
|
||||
const upperCase = createCompounder((result, word, index) =>
|
||||
|
||||
Reference in New Issue
Block a user