Roadmap
Reference
API
API Reference
Overview
@agape/locale
@agape/metadata
@agape/string
@agape/temporal
@agape/types
@agape/util
@agape/locale
F
getLocale
F
setLocale
@agape/metadata
@
Description
@
Example
@
Label
@
Name
@
Noun
@
Sensitive
@
Token
C
MetadataDescriptor
@agape/string
F
quantify
F
toCamelCase
F
toKebabCase
F
toPascalCase
F
toPlural
F
toSingular
F
toSnakeCase
F
toTitleCase
F
toWords
@agape/temporal
N
Temporal
C
TemporalNotAvailableError
F
hasTemporal
F
setTemporal
@agape/types
T
Class
T
Properties
@agape/util
F
isPresent
F
omit
F
pick
F
properties
@agape/locale
getLocale
Function
Get the current locale.
API
function
getLocale
(
)
:
string
getLocale
string
Get the current locale.
@returns
string
Description
Get the current locale.
Returns the locale previously set with
setLocale
or the system locale if no locale has been set.