mirror of
https://github.com/cachix/install-nix-action.git
synced 2025-06-08 09:54:28 +00:00
v6
This commit is contained in:
parent
cd5893b2c6
commit
70742d22d9
6774 changed files with 1602535 additions and 1 deletions
28
node_modules/lodash/toUpper.js
generated
vendored
Normal file
28
node_modules/lodash/toUpper.js
generated
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
var toString = require('./toString');
|
||||
|
||||
/**
|
||||
* Converts `string`, as a whole, to upper case just like
|
||||
* [String#toUpperCase](https://mdn.io/toUpperCase).
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.0.0
|
||||
* @category String
|
||||
* @param {string} [string=''] The string to convert.
|
||||
* @returns {string} Returns the upper cased string.
|
||||
* @example
|
||||
*
|
||||
* _.toUpper('--foo-bar--');
|
||||
* // => '--FOO-BAR--'
|
||||
*
|
||||
* _.toUpper('fooBar');
|
||||
* // => 'FOOBAR'
|
||||
*
|
||||
* _.toUpper('__foo_bar__');
|
||||
* // => '__FOO_BAR__'
|
||||
*/
|
||||
function toUpper(value) {
|
||||
return toString(value).toUpperCase();
|
||||
}
|
||||
|
||||
module.exports = toUpper;
|
Loading…
Add table
Add a link
Reference in a new issue