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
- quantity/src/Formatter/Interfaces.ts Line 228
Last Updated: 30 September, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.