Utility function that checks that the values the user passed when calling a function are valid.

.are_valid_argument_values(user_inputs)

Arguments

user_inputs

A list of lists with two elements: the first is the value of the parameter to be tested. The second is the expected type of that parameter.

Value

TRUE if all tests were passed. Throws an error otherwise.