_ → - (' EN_us ' → 'en-us').
Returns undefined for anything that is not a non-empty string.
Parameters
Returns
string | undefinedDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Function exported by @botmesh/core/spi.
function normalizeLocale(code): string | undefined;
_ → - (' EN_us ' → 'en-us').
Returns undefined for anything that is not a non-empty string.
| Parameter | Type |
|---|---|
code | unknown |
string | undefined