getFormat Method

getFormat(name: string, system?: UnitSystemKey, context?: FormatsProviderContext): Promise<FormatDefinition | undefined>

Parameter Type Description
name string The full name of the Format or KindOfQuantity.
system UnitSystemKey  
context FormatsProviderContext Optional context to forward when delegating the current lookup through another provider.

Returns - Promise<FormatDefinition | undefined>

Defined in

Last Updated: 30 September, 2026