Check that a list of controls is of the right class.
check_control(control, eclass = "list")
control | Control list to evaluate. |
---|---|
eclass | Expected class of the list to be evaluated. |
an error message is thrown if the input is improper, otherwise
NULL
.
check_control(list())