Is this a sf class object?
Is this a sfc class object?
Is this a sfg class object?
Is this a bbox class object?
Is this a sf, sfc, or bbox class object?
Is this a RasterLayer class object?
Is this a Spatial class (sp) object?
Arguments
- x
An object to be tested with
inherits()- ext
If
TRUE, returnTRUEis x is a sf, sfc, or bbox object. IfFALSE, only check if x is an sf object. If ext is a character object, it is passed to the what parameter ofinherits()with sf.