dot-check_if_non_negative_number.Rd
Utility function to check whether an object is a positive number or 0.
.check_if_non_negative_number(number, parameter_name)
number | The value to be tested |
---|---|
parameter_name | A string containing the name the tested parameter had in the initial function in which it was passed. |
TRUE if all tests were passed. Throws an error otherwise.