swc/crates/swc_bundler/tests/.cache/deno/892270386d4b9fafaf84cf40e0fcc71fcf47471a.ts
2021-11-09 20:42:49 +09:00

10 lines
292 B
TypeScript

// Loaded from https://deno.land/x/case/sentenceCase.ts
import normalCase from "./normalCase.ts";
import upperFirstCase from "./upperFirstCase.ts";
export default function sentenceCase(value: string, locale?: string): string {
return upperFirstCase(normalCase(value, locale), locale);
}