.validateHasUnit | R Documentation |
Check if quantity can be represented in the unit
.validateHasUnit(quantity, unit)
quantity |
|
unit |
Unit name to check for |
If validations are successful, NULL
is returned. Otherwise, error is
signaled.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.