Browse documentation

getLang

Returns the active translation language.

Table of contents

Category

Value

Import

js
import { getLang } from "valyrian.js/translate";

Public signature

ts
(): string

Parameters

It does not accept parameters.

Result

ts
string