ST_IsClosed(geom: Geometry)
true
false
SELECT ST_IsClosed(ST_GeomFromText('LINESTRING(0 0, 1 1, 1 0)'))
Was this page helpful?