This function checks whether object is a specific class
Examples
if(interactive()) {
has_class(1, "numeric") # TRUE
has_class(1, "character") # FALSE
}
This function checks whether object is a specific class
if(interactive()) {
has_class(1, "numeric") # TRUE
has_class(1, "character") # FALSE
}