getSpecsByName Method @beta
Returns a map of FormattingSpecEntry keyed by persistence unit for a given name, typically a KindOfQuantity full name.
getSpecsByName(name: string, options?: { system?: UnitSystemKey }): ReadonlyMap<string, FormattingSpecEntry> | undefined
| Parameter | Type | Description |
|---|---|---|
| name | string | The KoQ name to look up. |
| options | { system?: UnitSystemKey } | Optional lookup options. When options.system is omitted, the active unit system is used. |
Returns - ReadonlyMap<string, FormattingSpecEntry> | undefined
Defined in
Last Updated: 23 June, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.