Link Search Menu Expand Document

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.

Signature:

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

Parameters

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

Returns:

LocaleContext | null

null if both arguments are null