'is there anyway to convert GeometryCollection to a list of geometries?

I am a newbie to earth engine. I got a question. how can I have geometrycollection as list of geometries? I drew some polygons and they are imported as geometrycollection. I would be grateful if anyone can help.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source