reports/frontend/node_modules/es-toolkit/dist/compat/string/lowerFirst.mjs
jtricerolph 1c411e402e Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-20 14:37:36 +00:00

19 lines
606 B
JavaScript

import { lowerFirst as lowerFirst$1 } from "../../string/lowerFirst.mjs";
import { toString } from "../util/toString.mjs";
//#region src/compat/string/lowerFirst.ts
/**
* Converts the first character of string to lower case.
*
* @param str - The string that is to be changed
* @returns The converted string.
*
* @example
* const convertedStr1 = lowerCase('fred') // returns 'fred'
* const convertedStr2 = lowerCase('Fred') // returns 'fred'
* const convertedStr3 = lowerCase('FRED') // returns 'fRED'
*/
function lowerFirst(str) {
return lowerFirst$1(toString(str));
}
//#endregion
export { lowerFirst };