swc/bundler/tests/.cache/deno/892270386d4b9fafaf84cf40e0fcc71fcf47471a.ts

10 lines
292 B
TypeScript
Raw Normal View History

// 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);
}