From 99c1d9af689e5325f3cf535c4007b3aeb8325229 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 10 Jan 2023 14:54:04 +0100 Subject: Update - This is an automated commit --- school/node_modules/lodash/upperFirst.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 school/node_modules/lodash/upperFirst.js (limited to 'school/node_modules/lodash/upperFirst.js') diff --git a/school/node_modules/lodash/upperFirst.js b/school/node_modules/lodash/upperFirst.js new file mode 100644 index 0000000..1dd64e1 --- /dev/null +++ b/school/node_modules/lodash/upperFirst.js @@ -0,0 +1,22 @@ +var createCaseFirst = require('./_createCaseFirst'); + +/** + * Converts the first character of `string` to upper case. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category String + * @param {string} [string=''] The string to convert. + * @returns {string} Returns the converted string. + * @example + * + * _.upperFirst('fred'); + * // => 'Fred' + * + * _.upperFirst('FRED'); + * // => 'FRED' + */ +var upperFirst = createCaseFirst('toUpperCase'); + +module.exports = upperFirst; -- cgit