R/HelperFunctions.R
checkIsClass.Rd
helper function to check class of input
checkIsClass(parameter, classes)
the input parameter to check
which classes it should belong to (one or more)