# set.clear · Rell standard library · Chromia Docs (concept)

> 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

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/set/clear/

FUNCTION

# set.clear

```signature
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

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/%5Broot%5D/set/clear.html)Generated API reference, mirrored from the live docs
