# isRtlLocale (@salmonui/data-grid/engine/locale)

> The isRtlLocale function of @salmonui/data-grid/engine/locale: True for right-to-left locales (ar, he-IL, fa, ur-PK, az-Arab, ...). Invalid locales are LTR.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine-locale/isRtlLocale

```ts
import { isRtlLocale } from '@salmonui/data-grid/engine/locale';
```

Entry index: https://salmonui.dev/docs/reference/data-grid/engine-locale (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine-locale.md).

## Reference

Kind: function

```ts
function isRtlLocale(locale: string): boolean;
```

True for right-to-left locales (`ar`, `he-IL`, `fa`, `ur-PK`, `az-Arab`, ...). Invalid locales are LTR.
