# isRTL

Source: https://pakdatakit.dev/api/typescript/text/functions/isrtl/

```ts
function isRTL(text): boolean;
```

Defined in: [text.ts:410](https://github.com/chmuzamil/pakdatakit/blob/a6eeaa47381308c4e4fcda45b29642fe4fbfb1fc/src/text.ts#L410)

Whether text reads right to left: its first letter is from a right-to-left
script such as Urdu or Arabic. Digits, punctuation and spaces are skipped,
as in the Unicode bidirectional algorithm's paragraph rule.

## Parameters

| Parameter | Type |
| :------ | :------ |
| `text` | `string` |

## Returns

`boolean`

`false` when there is no letter, or the input is not a string.
  Never throws.

## Example

```ts
isRTL('سلام'); // true
isRTL('123 سلام'); // true
isRTL('Order نمبر'); // false
```
