Some spatial helper functions
.isGridded(x)
.isVector(x)
.isSF(x)
.isSpat(x)
.isSpatialAny(x)
.isCRSany(x)Logical.
.isGridded returns TRUE if the object is a SpatRaster or Raster
.isVector returns TRUE if the object is SpatVector, spatial or sf
.isSF returns TRUE if the object is sf or sfc
.isSpat returns TRUE if the object is SpatVector or SpatRaster
.isSpatialAny returns TRUE if the object returns TRUE for .isGridded or
.isVector