is.empty.Rd
An empty SpatExtent has no area
An empty SpatVector has no geometries.
# S4 method for class 'SpatExtent' is.empty(x) # S4 method for class 'SpatVector' is.empty(x)
SpatVector or SpatExtent
logical
e <- ext(0,0,0,0) is.valid(e) #> [1] TRUE is.empty(e) #> [1] TRUE v <- vect() is.valid(v) #> logical(0) is.empty(v) #> [1] TRUE