Function: localeData()
ts
function localeData(key?: string): NumeralJSLocale;This function provides access to the loaded locale data. If no arguments are passed in, it will simply return the current global locale object.
Parameters
| Parameter | Type | Description |
|---|---|---|
key? | string | Locale key, e.g 'es' for a spanish locale definition |