getUnitSystemFromString Method

Get a UnitSystemKey from a string that may have been entered via a key-in. Supports different variation of unit system names that have been used in the past.

getUnitSystemFromString(inputSystem: string, fallback?: UnitSystemKey): UnitSystemKey

Parameter Type Description
inputSystem string  
fallback UnitSystemKey  

Returns - UnitSystemKey

Defined in

Last Updated: 16 April, 2024