powered by
This function checks the class of an input object and returns "raster" if it is a raster object, or "vector" if it is a vector object.
.check_character(input)
A character string indicating the class of the input object ("raster" or "vector")
The input object to be checked