ee.Geometry.type

Returns the GeoJSON type of the geometry.

UsageReturns
Geometry.type()String
ArgumentTypeDetails
this: geometryGeometry