This function returns one of 'vector' or 'raster' depending on the input class.
Note
Although stars object is a little ambiguous
whether to classify vector or raster,
it will be considered raster in this package.
See also
Other Helper functions:
dep_check(),
dep_switch(),
get_clip_ext(),
par_def_q(),
reproject_std(),
reproject_to_raster()