# utils/language

module

<a id="type-definitions">

## Type Definitions

<a id="typedef-LanguageDirection">

### `LanguageDirection`

<a id="functions">

## Functions

<a id="function-getLanguageDirection">

### `getLanguageDirection( languageCode ) → LanguageDirection`

Helps determine whether a language text direction is LTR or RTL.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-utils/src/language.ts#L30)

#### Parameters

* `languageCode: string`

  The ISO 639-1 or ISO 639-2 language code.

#### Returns

* `LanguageDirection`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
