填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

getLocaleDirection

Retrieves the writing direction of a specified locale

getLocaleDirection(locale: string): 'ltr' | 'rtl'
      
      getLocaleDirection(locale: string): 'ltr' | 'rtl'
    
参数
locale string

A locale code for the locale format rules to use.

返回值

'ltr' | 'rtl': 'rtl' or 'ltr'

参见