has_duplicates

Tests to see if a geometry has any consecutive coincident vertices.

Parameter 1 - the geometry to be tested.

Returns: a Boolean value, true if the geometry has any consecutive coincident vertices and false if it does not. Returns null if parameter 1 is not a geometry.