Functions
Const parseDimension
- parseDimension(dimensionValue: string, __namedParameters?: { defaultUnits: units; outputUnits: units }): number
-
Parameters
-
dimensionValue: string
-
Default value __namedParameters: { defaultUnits: units; outputUnits: units } = {}
Returns number
string value to parse. For example, 1cm, 1 1/2", 1m, 2ft 6in