getLocaleDirection
Retrieves the writing direction of a specified locale
getLocaleDirection(locale: string): 'ltr' | 'rtl'
参数
locale | string | A locale code for the locale format rules to use. |
返回值
'ltr' | 'rtl'
: 'rtl' or 'ltr'
Retrieves the writing direction of a specified locale
getLocaleDirection(locale: string): 'ltr' | 'rtl'
locale | string | A locale code for the locale format rules to use. |
'ltr' | 'rtl'
: 'rtl' or 'ltr'