Internal function to check argvar
Usage
check_argvar(argvar, this_exp)
Arguments
- argvar
the argvar argument that is passed in
- this_exp
the exposure vector
Value
A validated version of argvar, potentially coerced into
a standard form (e.g., a symbol or expression). Throws an error
if validation fails.