API
@agape/locale

getLocale Function

Get the current locale.

API

function getLocale(): string

getLocale

string

Get the current locale.

@returnsstring

Description

Get the current locale.

  • Returns the locale previously set with setLocale or the system locale if no locale has been set.