Skip to main content Link Menu Expand (external link) Document Search Copy Copied

extendLocaleContext() function

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Create a new LocaleContext, using orig as a base.


export declare function extendLocaleContext(orig: Readonly<LocaleContext> | null, lc: LocaleContextArg): LocaleContext | null;


Parameter Type Description
orig Readonly<LocaleContext> | null  
lc LocaleContextArg  


LocaleContext | null

null if both arguments are null