MCPcopy
hub / github.com/umami-software/umami / getTextDirection

Function getTextDirection

src/lib/lang.ts:109–111  ·  view source on GitHub ↗
(locale: string)

Source from the content-addressed store, hash-verified

107}
108
109export function getTextDirection(locale: string) {
110 return languages[locale]?.dir || 'ltr';
111}

Callers 2

useLocaleFunction · 0.90
saveLocaleFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected