x/case/upperFirstCase.ts
123456789101112import upperCase from "./upperCase.ts";export default function (str: string, locale?: string): string { if (str == null) { return ""; } str = String(str); return upperCase(str.charAt(0), locale) + str.substr(1);}