getLocaleDirection
function
Deprecated
Retrieves the writing direction of a specified locale
API
function getLocaleDirection( locale: string): "ltr" | "rtl";
getLocaleDirection
"ltr" | "rtl"
Retrieves the writing direction of a specified locale
@paramlocale
string
A locale code for the locale format rules to use.
@returns
"ltr" | "rtl"
Jump to details