TRUE when the geometry's type is one of types. Type names are those
ga_geometry_type() returns.
Details
ga_is() returns NA for a null geometry. It errors on an unknown type
name rather than returning FALSE, so it never silently passes a
misspelling.
See also
Other geometry type:
ga_geometry_type()