const require_upperFirst = require("../../string/upperFirst.js");
const require_toString = require("../util/toString.js");
//#region src/compat/string/upperFirst.ts
/**
* Converts the first character of string to upper case.
*
* @param str - The string that is to be changed
* @returns The converted string.
*
* @example
* const convertedStr1 = upperFirst('fred') // returns 'Fred'
* const convertedStr2 = upperFirst('Fred') // returns 'Fred'
* const convertedStr3 = upperFirst('FRED') // returns 'FRED'
*/
function upperFirst(str) {
	return require_upperFirst.upperFirst(require_toString.toString(str));
}
//#endregion
exports.upperFirst = upperFirst;
