getLocaleDirection
function
deprecatedsince v18
Retrieves the writing direction of a specified locale
Deprecation warning
@paramlocale
stringA locale code for the locale format rules to use.
@returns
"ltr" | "rtl"'rtl' or 'ltr'
Jump to details