This function checks if the inputs to a function are of the expected type. It is used at the beginning of TADA functions to ensure the inputs are suitable.
Usage
TADA_CheckType(arg, type, paramName = deparse(substitute(arg)))
This function checks if the inputs to a function are of the expected type. It is used at the beginning of TADA functions to ensure the inputs are suitable.
TADA_CheckType(arg, type, paramName = deparse(substitute(arg)))