Is there a way to check if a PoolVector2Array is valid to create a polygon?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By PeterA

Just the title really. I’ve been stuck on how to merge polygons without, and having a way to check that would be really useful. Any help is greatly appreciated