API Reference > imodeljs-frontend > QuantityFormatting > getQuantityTypeKey getQuantityTypeKey Function Beta Function to return a QuantityTypeKey given either a QuantityType or a string getQuantityTypeKey(type: QuantityTypeArg): QuantityTypeKey Parameter Type Description type QuantityTypeArg Returns - QuantityTypeKey Defined in core/frontend/src/quantity-formatting/QuantityFormatter.ts Line 46 Last Updated: 11 June, 2024