findUnit Method
Finds Unit by unitLabel, which could be a display label in the schema or alternate an display label defined in this._unitExtraData. If there are duplicates of the same display label in the context or teh same alternate display labels, specify schemaName, phenomenon, or unitSystem to get a specific unit.
findUnit(unitLabel: string, schemaName?: string, phenomenon?: string, unitSystem?: string): Promise<UnitProps>
@returns The UnitProps interface from the @itwin/core-quantity package.
Returns - Promise<UnitProps>
The UnitProps interface from the @itwin/core-quantity package.
Defined in
Last Updated: 22 August, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.