# getTextDirection

getTextDirection is a helper function will return the css rule for a text value depending depends on the language of the text value

## How to use

```javascript
import { Plugin } from'@root'

const englishText = 'Hello'
const arabicText = 'مرحبا'

Plugin.getTextDirection(englishText) // returns 'ltr'
Plugin.getTextDirection(arabicText) // returns 'rtl'
```
