@stryke/prisma-trpc-generator
Version:
A fork of the prisma-trpc-generator code to work in ESM with Prisma v6.
17 lines (16 loc) • 410 B
JavaScript
//#region ../string-format/src/upper-case-first.ts
/**
* Upper case the first character of an input string.
*
* @remarks
* "Thisisanexample"
*
* @param input - The input string.
* @returns The capitalized string.
*/
function upperCaseFirst(input) {
return input ? input.charAt(0).toUpperCase() + input.slice(1) : input;
}
//#endregion
export { upperCaseFirst };
//# sourceMappingURL=upper-case-first.mjs.map