R/utilities-units.R
validateHasUnit.Rd
Check if quantity can be represented in the unit
validateHasUnit(quantity, unit)
Quantity object
Quantity
Unit name to check for
If validations are successful, NULL is returned. Otherwise, error is signaled.
NULL