Api - units Namespace
Index
Functions
Functions
conversionScale
-
Parameters
-
srcUnitType: string
unitType converting from.
-
destUnitType: string
unitType converting to.
Returns number
Numeric ratio of the conversion.
-
isValidUnit
-
Check to see if unit type is a valid Maker.js unit.
Parameters
-
tryUnit: string
unit type to check.
Returns boolean
Boolean true if unit type is valid.
-
Generated using TypeDoc
Get a conversion ratio between a source unit and a destination unit.