check that toolkit object return the right class
The S3 dispatch assumes naming conventions in the class names. This offers some check.
check_return_class(obj, ret_class)
obj |
object with expected return class |
ret_class |
character string of class expected |
throws error if a mismatch
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.