# isRtlLocale (@salmonui/core/format)

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

Canonical: https://salmonui.dev/docs/reference/core/format/isRtlLocale

```ts
import { isRtlLocale } from '@salmonui/core/format';
```

Entry index: https://salmonui.dev/docs/reference/core/format (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/core/format.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.
