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

> function clear(): unit Clear this map; i.e. remove all its entries. Immediately after this method returns, this map is
empty. Since 0.6.0

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

FUNCTION

# map.clear

```signature
function clear(): unit
```

Clear this map; i.e. remove all its entries. Immediately after this method returns, this map 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/map/clear.html)Generated API reference, mirrored from the live docs
