Docs
chromia.com

FUNCTION

collection.clear

function clear(): unit

Clear this collection; i.e. remove all its elements. Immediately after this method returns, this collection is empty.

Since 0.6.0