R/utilities-units.R
validateUnit.Rd
Validate unit
validateUnit(unit, dimension)
String name of the unit
String name of the dimension.
Check if the unit is valid for the dimension. If not, throw an error