findUnit Method
Find a unit by its display label, optionally filtering by schema name, phenomenon, and unit system.
findUnit(unitLabel: string, schemaName?: string, phenomenon?: string, unitSystem?: string): Promise<UnitProps>
@returns The matching UnitProps, or a BadUnit if no match is found.
Returns - Promise<UnitProps>
The matching UnitProps, or a BadUnit if no match is found.
Defined in
Last Updated: 08 July, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.